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:
Property | Description |
---|---|
transactionId | Transaction hash from the transaction submitted to the source chain. |
Request Headers:
Property | Description |
---|---|
x-integrator-id | Integrator Id for squid to keep track of partners, complete the form to acquire it |
Response Param:
Property | Description |
---|---|
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 |
squidTransactionStatus | Simplified status for transaction. It could be either of the value |
fromChain.transactionId | Chain ID of |
fromChain.blockNumber | Transaction block number on |
fromChain.callEventStatus | SquidMulticall contract event status relating to |
fromChain.callEventLog | SquidMulticall event logs for |
toChain.transactionId | Transaction hash on |
toChain.blockNumber | Transaction block number on |
toChain.callEventStatus | Latest SquidMulticall event status on |
toChain.callEventLog |
|
error | Error returned from Axelarscan GMP API |
Example:
You can also access the Axelar GMP block explorer to monitor your transaction status.
Last updated