Multichain
  • Getting Started
    • Introduction
      • Supported Chains
      • Supported Tokens
    • How it works
      • Cross-Chain Bridge
      • Cross-Chain Router
    • Governance Token
      • VeMulti
      • How to Convert ANY to MULTI
    • Security
      • Security model
      • Bug bounty (Immunefi)
      • Bug bounty (alternative)
    • How to Use
      • Fees
    • Road Map
    • FAQ
    • Careers
      • Front-end developer
      • Back-end developer
      • Test Engineer
      • Test Development Engineer
      • Security Engineer (Code Auditing)
      • Blockchain Development Engineer
      • Senior Content Editor
      • Event Manager
  • Listing and Integration
    • Token Listing
      • ERC20 Cross-chain Options
      • Difference between V2&V3
    • Chain Integration
      • EVM Networks Integration
      • Non-EVM Networks Integration
    • FAQ
  • Developer Guide
    • How to Integrate Front-end Router
    • Bridge API (Token list/Tx Status)
    • Scan API (Tx Status/Account History)
    • Token Router Testnet
    • anyCall V7
      • How to integrate anyCall V7?
      • API/Explorer
      • Quickstart (Cross-chain text example)
      • Estimate Fee/Pay Fees on destination chain
    • anyCall V6
      • How to integrate anyCall V6?
      • anyFallback
      • anyCall V6 Testnet Environments
      • Fees Paid on Source Chain
      • Context (Verify msg.sender)
    • $USDC CCTP X anyCall
      • Contract Addresses and example
    • anyCall NFT Bridge
    • Permissionless Token bridging
    • How to develop under Anyswap ERC20 standards
    • Bridge funds and anyCall (Router V7)
      • Mainnet
      • Testnet (Quick Start Example)
    • How to Integrate Front-end Bridges
Powered by GitBook
On this page
  • Get transaction info
  • Get account transaction history
  • Get all transactions list
  • Get supported chains list
  1. Developer Guide

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.

 https://scanapi.multichain.org/data/chain?type=mainnet
Parameter
Description

type

mainnet

testnet

 {
  "1": {
    "name": "Ethereum",
    "symbol": "ETH",
    "rpc": "https://rpc.ankr.com/eth",
    "explorer": {
      "tx": "https://etherscan.io/tx/",
      "address": "https://etherscan.io/address/"
    },
    "explorer_cn": {
      "tx": "https://cn.etherscan.com/tx/",
      "address": "https://cn.etherscan.com/address/"
    },
    "logoUrl": "https://assets.coingecko.com/coins/images/279/small/ethereum.png",
    "networkType": "MAINNET"
  },
  "10": {
    "name": "Optimism",
    "symbol": "OETH",
    "rpc": "https://mainnet.optimism.io",
    "explorer": {
      "tx": "https://optimistic.etherscan.io/tx/",
      "address": "https://optimistic.etherscan.io/address/"
    },
    "explorer_cn": {
      "tx": "https://optimistic.etherscan.io/tx/",
      "address": "https://optimistic.etherscan.io/address/"
    },
    "logoUrl": "https://assets.coingecko.com/coins/images/25244/small/Optimism.png",
    "networkType": "MAINNET"
  },
  ......
}
PreviousBridge API (Token list/Tx Status)NextToken Router Testnet

Last updated 2 years ago