Checking the status of a transaction
Squid extends the AxelarScan API in order to give details on the status of cross-chain transactions.
Request Param:
transactionId
Transaction hash from the transaction submitted to the source chain.
Request Headers:
x-integrator-id
Integrator Id for squid to keep track of partners, complete the form to acquire it
Response Param:
id
transaction hash
status
Transaction status from Axelarscan: As per Axelarscan, possible status response are outlined below:
For non-GMP or send token type transaction, it returns status as 'sent'.
gasStatus
Transaction gas status returned from Axelarscan. The possible gas status response are:
isGMPTransaction
Returns true
if the transaction is a GMP transaction, false
if it is a bridge transfer
squidTransactionStatus
Simplified status for transaction. It could be either of the value
fromChain.transactionId
Chain ID of fromChain
fromChain.blockNumber
Transaction block number on fromChain
fromChain.callEventStatus
SquidMulticall contract event status relating to transactionId
on fromChain
fromChain.callEventLog
SquidMulticall event logs for transactionId
on fromChain
toChain.transactionId
Transaction hash on toChain
toChain.blockNumber
Transaction block number on toChain
toChain.callEventStatus
Latest SquidMulticall event status on toChain
toChain.callEventLog
SquidMulticall
event logs on toChain
error
Error returned from Axelarscan GMP API
Example:
You can also access the Axelar GMP block explorer to monitor your transaction status.
Last updated