4. Status Query
Last updated
Last updated
Endpoint
lockHash: The transaction hash of the cross-chain operation on the source chain or destination chain.
Response Exmaple:
Notes:
The status
value includes: NotFound
, Success
, Processing
, Trusteeship
, and Refund
.
If Trusteeship
is returned, it means the transaction information was filled in incorrectly, such as missing tag information in XRP cross-chain. Manual intervention is required to resolve the issue.
The Amount
value is in wei units and needs to be converted according to the decimals of fromToken and toToken.
If sendAmount
and receiveAmount
differ, the difference represents the fee deducted during the transaction.
API Usage Example:
You need to add: target chain hash, cross-chain amount, and fee deduction details.
If the cross-chain address is under risk control, the cross-chain transaction automatically refunds, and the query status can be obtained: