For the complete documentation index, see llms.txt. This page is also available as Markdown.

Scan API (Tx Status/Account History)

API for https://scan.multichain.org

Get transaction info

Return the transaction info.

https://scanapi.multichain.org/v3/tx/0x7e1dc1c4175e18e4115e2242ad34cf3d7c6c53330194da648f47cb80395ee74c
Parameter
Description

tx

transaction hash

{
  "msg": "Success",
  "info": {
    "pairid": "anyUSDC",
    "txid": "0x7e1dc1c4175e18e4115e2242ad34cf3d7c6c53330194da648f47cb80395ee74c",
    "from": "0x8537307810fc40f4073a12a38554d4ff78efff41",
    "bind": "0xd39ba48b49cdfe44a9d07639603b390efe2790f5",
    "swaptx": "0x78bcb34cdfc9dd01e947609d3452a0554e93ec8b4861fc9f9f0d3c860e493db5",
    "status": 10,
    "statusmsg": "MatchTxStable",
    "timestamp": 1671081958,
    "swapinfo": {
      "routerSwapInfo": {
        "token": "0x3405a1bd46b85c5c029483fbecf2f3e611026e45",
        "tokenID": "anyUSDC"
      }
    },
    "confirmations": 2113,
    "historyType": "STABLEV3",
    "formatswapvalue": "4995.892293",
    "formatvalue": "4996.082293",
    "formatfee": "0.190000",
    "time": "261.87",
    "fromChainID": "42161",
    "toChainID": "10",
    "logIndex": 8,
    "label": "usd-coin"
  }

Get account transaction history

Return account transaction list

https://scanapi.multichain.org/v3/account/txns/0xe41a2b194f15aaae7500421ecb71e39c5be26bfd?offset=0&limit=50
Parameter
Description

offset

0~1000

limit

1~100

sort

-1 from old to new

1 from new to old

{
  "msg": "Success",
  "info": [
    {
      "pairid": "anyUSDC", 
      "txid": "0xa90683a9020d8e38e8ab696809e57f09f600ae50e2be3afff7807e10f639d351", 
      "from": "0x2b42affd4b7c14d9b7c2579229495c052672ccd3",  
      "bind": "0x5111fa46b34a5a89e76d0dab7993c0c28292f3a6", 
      "swaptx": "0xf76bf2b3d4dab3a4ac46ebbd4048e266f189c0585540e2e63ac094207b811a8f", 
      "status": 10, 
      "statusmsg": "MatchTxStable",
      "timestamp": 1671082531,
      "swapinfo": { 
        "routerSwapInfo": {
          "token": "0x95bf7e307bc1ab0ba38ae10fc27084bc36fcd605",
          "tokenID": "anyUSDC"
        }
      },
      "confirmations": 2145, 
      "historyType": "STABLEV3", 
      "formatswapvalue": "4348.156347", 
      "formatvalue": "4348.346347", 
      "formatfee": "0.190000", 
      "time": "298.77", 
      "fromChainID": "250", 
      "toChainID": "10", 
      "logIndex": 8,  
      "label": "usd-coin" 
    },
    ......
  ]
}

Get all transactions list

Return all tansactions list.

https://scanapi.multichain.org/v3/txns?offset=0&limit=50&sort=-1
Parameter
Description

offset

0~max

limit

1~100

sort

-1 from old to new

1 from new to old

{
  "msg": "Success",
  "info": [
    {
      "pairid": "anyUSDC", 
      "txid": "0xa90683a9020d8e38e8ab696809e57f09f600ae50e2be3afff7807e10f639d351", 
      "from": "0x2b42affd4b7c14d9b7c2579229495c052672ccd3",  
      "bind": "0x5111fa46b34a5a89e76d0dab7993c0c28292f3a6", 
      "swaptx": "0xf76bf2b3d4dab3a4ac46ebbd4048e266f189c0585540e2e63ac094207b811a8f",
      "status": 10, 
      "statusmsg": "MatchTxStable",
      "timestamp": 1671082531,
      "swapinfo": { 
        "routerSwapInfo": {
          "token": "0x95bf7e307bc1ab0ba38ae10fc27084bc36fcd605",
          "tokenID": "anyUSDC"
        }
      },
      "confirmations": 2145, 
      "historyType": "STABLEV3", 
      "formatswapvalue": "4348.156347", 
      "formatvalue": "4348.346347", 
      "formatfee": "0.190000", 
      "time": "298.77", 
      "fromChainID": "250", 
      "toChainID": "10", 
      "logIndex": 8,  
      "label": "usd-coin" 
    },
    ......
  ]
}

Get supported chains list

Return the chain list info.

Parameter
Description

type

mainnet

testnet

Last updated