Function get_transaction_by_id

Source
pub async fn get_transaction_by_id<J, RR, TR, NR, NFR, SR, TCR, PR>(
    relayer_id: String,
    transaction_id: String,
    state: ThinDataAppState<J, RR, TR, NR, NFR, SR, TCR, PR>,
) -> Result<HttpResponse, ApiError>
Expand description

Retrieves a transaction by its ID for a specific relayer.

§Arguments

  • relayer_id - The ID of the relayer.
  • transaction_id - The ID of the transaction to retrieve.
  • state - The application state containing the transaction repository.

§Returns

The details of the specified transaction.