Skip to main content

ResQ.Blockchain.MockNeoClient

MockNeoClient.ExtractIncidentId(string) Method

Extracts an incident ID from a JSON payload string.
private static string? ExtractIncidentId(string? payload);

Parameters

payload System.String The JSON payload to parse.

Returns

System.String
The extracted incident ID from “incidentId” or “incident” fields, or null if not found.