Query IM Tx Status
get
https://api.celerscan.com
/scan/searchByTxHash
Get Tx status from CelerIM system

Request Parameter

Name
Type
Description
tx
String
Transaction hash

Response Parameters

Name
Type
Description
txSearchInfo
All related transactions' info

TxSearchInfo

base_info
BaseInfo
Basic information
transfer
Array<Transfer>
Transfers List
message
Array<Message>
Messages List

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
enum XferStatus {
XS_UNKNOWN = 0,
XS_WAITING_FOR_SGN_CONFIRMATIONS = 1,
XS_WAITING_FOR_FUND_RELEASE = 2,
XS_COMPLETED = 3,
XS_TO_BE_REFUND = 4,
XS_REFUND_TO_BE_CONFIRMED = 5,
XS_REFUNDED = 6,
}

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
MsgStatus
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
Copy link
On this page
get
Get Tx status from CelerIM system
Request Parameter
Response Parameters
TxSearchInfo
BaseInfo
Transfer
XferStatus
Message
MsgStatus