pub async fn send_transaction(
relayer_id: String,
request: Value,
state: ThinData<AppState<JobProducer>>,
) -> Result<HttpResponse, ApiError>
Expand description
Sends a transaction through a specified relayer.
§Arguments
relayer_id - The ID of the relayer to send the transaction through.
request - The transaction request data.
state - The application state containing the relayer repository.
§Returns
The response of the transaction processing.