Skip to main content

ResQ.Clients.InfrastructureApiClient

InfrastructureApiClient.RecordEventAsync(BlockchainEventRequest, CancellationToken) Method

Records a blockchain event via infrastructure-api Neo N3 adapter. Uses timeout and circuit-breaker handling without replaying the mutation on failure.
public System.Threading.Tasks.Task<ResQ.Clients.BlockchainEventResponse> RecordEventAsync(ResQ.Clients.BlockchainEventRequest evt, System.Threading.CancellationToken ct=default(System.Threading.CancellationToken));

Parameters

evt BlockchainEventRequest ct System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<BlockchainEventResponse>