Blockchain API Documentation
API Overview
This documentation covers the endpoints for interacting with blockchain data, including retrieving Tokens and NFTs for a given wallet address.
Supported Chains
The following chains are supported by the API:
Blockchain | Code |
---|---|
Ethereum Mainnet | ethereum |
Ethereum Sepolia | ethereum-sepolia |
Ethereum Holesky | ethereum-holesky |
Polygon Mainnet | polygon |
Polygon Amoy | polygon-amoy |
Binance Smart Chain Mainnet | bsc |
Binance Smart Chain Testnet | bsc-testnet |
Arbitrum | arbitrum |
Arbitrum Sepolia | arbitrum-sepolia |
Base | base |
Base Sepolia | base-sepolia |
Optimism Sepolia | optimism-sepolia |
Linea | linea |
Linea Sepolia | linea-sepolia |
Avalanche | avalanche |
Fantom Mainnet | fantom |
Fantom Testnet | fantom-testnet |
Cronos Mainnet | cronos |
Palm | palm |
Ronin | ronin |
Gnosis | gnosis |
Gnosis Chiado | gnosis-chiado |
Chiliz Mainnet | chiliz |
Chiliz Testnet | chiliz-testnet |
Pulsechain | pulsechain |
Moonbeam | moonbeam |
Moonriver | moonriver |
Moonbase | moonbase |
Endpoints
All API requests should be made to the base URL:
api.rsch.io
1. Tokens
Retrieve the ERC-20 tokens associated with a wallet address on a specified blockchain.
Endpoint:
GET /api/v1/blockchain/{{wallet}}/{address}/tokens?chain={{chain}}
Query Parameters:
wallet
(required): The wallet address to query.chain
(required): The blockchain network to query. Refer to the Supported Chains section for available options.
2. NTFs
Retrieve the NFTs associated with a wallet address on a specified blockchain.
Endpoint:
GET /api/v1/blockchain/{{wallet}}/{address}/ntfs?chain={{chain}}
Query Parameters:
wallet
(required): The wallet address to query.chain
(required): The blockchain network to query. Refer to the Supported Chains section for available options.