Query IM Tx Status

Get Tx status from CelerIM system

GET https://api.celerscan.com/scan/searchByTxHash

https://api.celerscan.com/scan/searchByTxHash?tx=0x0ce600fd60a7b5b3c1a3d02c7a73339261dae97d3e7785090cf8da92e657b674

Query Parameters

{
  "err": null,
  "txSearchInfo": [
    {
      "base_info": {
        "sender": "0x0Acd70f0Ad1C809Cc3B90Dad4a3BC3d1E82c4e47",
        "receiver": "0x0Acd70f0Ad1C809Cc3B90Dad4a3BC3d1E82c4e47",
        "src_chain_id": 42161,
        "src_tx_hash": "0x0ce600fd60a7b5b3c1a3d02c7a73339261dae97d3e7785090cf8da92e657b674",
        "init_time": "1661849935000",
        "last_update_time": "1661850036000"
      },
      "transfer": [
        {
          "xfer_id": "0x9161007dd7064a2f356a377698f7790efc7e93a1cb94016b92f27c0d0e648ed5",
          "dst_chain_id": 1,
          "send_amt": "711295513077604900",
          "received_amt": "691157868117182203",
          "src_tx_hash": "0x0ce600fd60a7b5b3c1a3d02c7a73339261dae97d3e7785090cf8da92e657b674",
          "dst_tx_hash": "0x469c084e624c25408c4a8d6c95f862a61ad71182d9b1112bbd6bb1bdd1e34b14",
          "src_token_addr": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
          "dst_token_addr": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
          "xfer_status": 3,
          "bridge_type": 1,
          "refund_amt": "0",
          "refund_tx": ""
        }
      ],
      "message": [
      ]
    }
  ]
}

Request Parameter

Response Parameters

TxSearchInfo

BaseInfo

Transfer

XferStatus

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

MsgStatus

Last updated