arbitrum-native

Check Arbitrum native bridge deposit status

Changed on

Returns the retryable ticket and delivery status of an Arbitrum native bridge deposit, looked up from the parent chain deposit transaction.

get/api/v1/arbitrum-native/bridge/check

Request

  • Base URL
    https://api.enso.finance
  • URL
    https://api.enso.finance/api/v1/arbitrum-native/bridge/check
  • Auth
    HTTP bearer

Query parameters

chainIdnumber required
Example:1

Chain ID of the parent chain deposit transaction

txHashstring required
Example:0x2825fed33798922dbb5a3f6bf513e0def70dcde0b79b7b5e0c1b356df335f404

Parent chain deposit transaction hash

Response

Bridge transaction status and details

sourceChainIdnumber required

Parent chain ID the deposit was sent from

sourceTxHashstring required

Parent chain deposit transaction hash

destinationChainIdnumber

Child chain ID the deposit is delivered to

retryableTicketIdstring

Retryable ticket ID, which is also the hash of the ticket creation transaction on the child chain

destinationTxHashstring

Child chain redeem transaction that delivered the deposit (present when delivered)

ticketExpiresAtnumber

Unix timestamp at which the unredeemed ticket expires (present when ready_for_manual_execution)

status'pending' | 'inflight' | 'delivered' | 'failed' | 'ready_for_manual_execution' | 'unknown' required

Overall bridge status. ready_for_manual_execution means the automatic redeem on the child chain failed; anyone can redeem the ticket manually before it expires.

errorstring

Error message when the status could not be determined

Example response

{
  "sourceChainId": 1,
  "sourceTxHash": "0x2825fed33798922dbb5a3f6bf513e0def70dcde0b79b7b5e0c1b356df335f404",
  "destinationChainId": 42161,
  "retryableTicketId": "0x24e5ec485567db136596b2202d293b5600daf679c1f18a0e329dcce62119e62a",
  "destinationTxHash": "0xb0ca3eff46342b81e82bf7352e20db07204c13f19e690b90948b0377f6465f3e",
  "ticketExpiresAt": 1790000000,
  "error": "Transaction receipt not found for 0x..."
}

Changes