> ## Documentation Index
> Fetch the complete documentation index at: https://docs.resq.software/llms.txt
> Use this file to discover all available pages before exploring further.

# ResQ.Clients.InfrastructureApiClient.RecordEventAsync(ResQ.Clients.BlockchainEventRequest,System.Threading.CancellationToken)

### [ResQ.Clients](./ResQ.Clients.md "ResQ.Clients").[InfrastructureApiClient](./ResQ.Clients.InfrastructureApiClient.md "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.

```csharp theme={null}
public System.Threading.Tasks.Task<ResQ.Clients.BlockchainEventResponse> RecordEventAsync(ResQ.Clients.BlockchainEventRequest evt, System.Threading.CancellationToken ct=default(System.Threading.CancellationToken));
```

#### Parameters

<a name="ResQ.Clients.InfrastructureApiClient.RecordEventAsync(ResQ.Clients.BlockchainEventRequest,System.Threading.CancellationToken).evt" />

`evt` [BlockchainEventRequest](./ResQ.Clients.BlockchainEventRequest.md "ResQ.Clients.BlockchainEventRequest")

<a name="ResQ.Clients.InfrastructureApiClient.RecordEventAsync(ResQ.Clients.BlockchainEventRequest,System.Threading.CancellationToken).ct" />

`ct` [System.Threading.CancellationToken](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken "System.Threading.CancellationToken")

#### Returns

[System.Threading.Tasks.Task\<](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1 "System.Threading.Tasks.Task`1")[BlockchainEventResponse](./ResQ.Clients.BlockchainEventResponse.md "ResQ.Clients.BlockchainEventResponse")[>](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1 "System.Threading.Tasks.Task`1")
