Blockchain

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:

BlockchainCode
Ethereum Mainnetethereum
Ethereum Sepoliaethereum-sepolia
Ethereum Holeskyethereum-holesky
Polygon Mainnetpolygon
Polygon Amoypolygon-amoy
Binance Smart Chain Mainnetbsc
Binance Smart Chain Testnetbsc-testnet
Arbitrumarbitrum
Arbitrum Sepoliaarbitrum-sepolia
Basebase
Base Sepoliabase-sepolia
Optimism Sepoliaoptimism-sepolia
Linealinea
Linea Sepolialinea-sepolia
Avalancheavalanche
Fantom Mainnetfantom
Fantom Testnetfantom-testnet
Cronos Mainnetcronos
Palmpalm
Roninronin
Gnosisgnosis
Gnosis Chiadognosis-chiado
Chiliz Mainnetchiliz
Chiliz Testnetchiliz-testnet
Pulsechainpulsechain
Moonbeammoonbeam
Moonrivermoonriver
Moonbasemoonbase

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.