We currently support the following networks.
Network Name | Network ID |
---|---|
ethereum | 1 |
optimism | 10 |
bsc | 56 |
polygon | 137 |
fantom | 250 |
moonbeam | 1284 |
arbitrum | 42161 |
avalanche | 43114 |
Unless stated otherwise network params can be either the network name (eg. 'ethereum') or a network ID.
https://services.blockpour.com/api/swaps/recent?network=ethereum
https://services.blockpour.com/api/swaps/recent?network=1
Some endpoints allow you to pass a list of networks. For example, to get a list of recent of swaps you can use the Get recent swaps endpoint as follows:
https://services.blockpour.com/api/swaps/recent?network=ethereum
https://services.blockpour.com/api/swaps/recent?network=ethereum,optimism
https://services.blockpour.com/api/swaps/recent
When passed as a network param, the network name should be lowercase as written in the table above.