xCallscan APIs
This documentation describes how to use the xcallscan REST APIs
Visit xCallscan for the latest transactions on ICON's cross-chain framework.
Supported Networks
| Name | Id |
|---|---|
| ICON | icon |
| Binance Smart Chain | bsc |
| Ethereum | eth2 |
| Havah | havah |
| Archway | ibc_archway |
| Neutron | ibc_neutron |
| Injective | ibc_injective |
| Avalanche | avax |
| Base | base |
| Arbitrum | arbitrum |
| Optimism | optimism |
BASE_URL
- Mainnet: https://xcallscan.xyz (opens in a new tab)
- Testnet: https://testnet.xcallscan.xyz (opens in a new tab)
/api/messages
Listing all messages
GET base_url/api/messages
Params:
limit: the maximum number of itemsskip: starting point within the collection of resource resultssrc_network: (optional) source networkdest_network: (optional) dest networksrc_address: (optional) sender addressdest_address: (optional) recipient addressfrom_timestamp: (optional) from block timestampto_timestamp: (optional) to block timestampstatus: (optional) message status, one of valuespending,delivered,executed,rollbacked
/api/messages/:id
Get message by id
GET base_url/api/messages/:id
Params:
:id: message id
/api/search
Search messages by transaction hash or serial number
GET base_url/api/search
Params:
value: transaction hash OR serial number
/api/statistics/total_messages
Get total number of messages
GET base_url/api/statistics/total_messages
Params:
src_network: (optional) source network, eg:icon,bsc...dest_network: (optional) destination network, eg:icon,bsc...from_timestamp: (optional) from block timestampto_timestamp: (optional) to block timestampstatus: (optional) message status, one of valuespending,delivered,executed,rollbacked
Example:
- Get total number of cross-chain messages originating from the ICON Network:
https://xcallscan.xyz/api/statistics/total_messages?src_network=icon
⚠️
Looking for the ICON blockchain tracker? Visit ICON Tracker for all transactions on ICON's L1 blockchain network.