Query IM Tx Status
Get Tx status from CelerIM system
GET
https://api.celerscan.com/scan/searchByTxHash
Query Parameters
Name | Type | Description |
---|---|---|
tx* | String | tx hash of the transaction |
Request Parameter
Name | Type | Description |
---|---|---|
tx | String | Transaction hash |
Response Parameters
Name | Type | Description |
---|---|---|
txSearchInfo | Array<TxSearchInfo> | All related transactions' info |
TxSearchInfo
BaseInfo
Name | Type | Description |
---|---|---|
sender | String | Sender's address |
receiver | String | Receiver's address |
src_chain_id | UInt32 | Source chain id |
src_tx_hash | String | Source chain transaction hash |
init_time | UInt64 | Initial timestamp |
last_update_time | UInt64 | Lastest information update timestamp |
Transfer
Name | Type | Description |
---|---|---|
xfer_id | String | cBridge transfer id |
dst_chain_id | UInt32 | Destination chain id |
send_amt | String | Source chain send amount |
received_amt | String | Destination chain receiving amount |
src_tx_hash | String | Source chain transaction hash |
dst_tx_hash | String | Destination chain transaction hash |
src_token_addr | String | Token address on source chain |
dst_token_addr | String | Token address on destination chain |
xfer_status | Transfer status | |
refund_amt | String | Refund token amount on source chain. Refund only |
refund_tx | String | Refund transaction hash. Refund only |
XferStatus
Value | Description |
---|---|
XS_UNKNOWN(0) | Status placeholder |
XS_WAITING_FOR_SGN_CONFIRMATIONS(1) | Waiting for Celer SGN confirmation |
XS_WAITING_FOR_FUND_RELEASE(2) | Waiting for fund release on destination chain |
XS_COMPLETED(3) | Complete |
XS_TO_BE_REFUND(4) | Transfer to be refunded |
XS_REFUND_TO_BE_CONFIRMED(5) | Transfer refund to be confirmed |
XS_REFUNDED(6) | Transfer refunded |
Message
Name | Type | Description |
---|---|---|
msg_id | String | Message id |
dst_chain_id | UInt32 | Destination chain id |
payload | String | payload |
execution_tx | String | Execution transaction hash |
msg_fee_gas | String | Message fee gas |
msg_fee_volume | Float | Message fee in USD value |
msg_status | Message Status |
MsgStatus
Value | Description |
---|---|
MS_UNKNOWN(0) | Status placeholder |
MS_WAITING_FOR_SGN_CONFIRMATIONS(1) | Waiting for Celer SGN confirmation |
MS_WAITING_FOR_DESTINATION_EXECUTION(2) | Waiting for destination chain execution |
MS_COMPLETED(3) | Complete |
Last updated