Accounts

Get BNB Balance for a Single Address

Returns the BNB balance of a given address.

https://api-opbnb-testnet.bscscan.com/api
   ?module=account
   &action=balance
   &address=0xc35ad6d767948cabe5c7f70445cf7dcec1a67687
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

Get BNB Balance for Multiple Addresses in a Single Call

Returns the balance of the accounts from a list of addresses.

https://api-opbnb-testnet.bscscan.com/api
   ?module=account
   &action=balancemulti
   &address=0x08535a09b157a52fcc208d6d754a938fdcae51b6,0xC35AD6d767948Cabe5C7F70445Cf7dcEc1A67687   
   &apikey=YourApiKeyToken

Query Parameters

Get a list of 'Normal' Transactions By Address

Returns the list of transactions performed by an address, with optional pagination.

https://api-opbnb-testnet.bscscan.com/api
   ?module=account
   &action=txlist
   &address=0xC35AD6d767948Cabe5C7F70445Cf7dcEc1A67687
   &startblock=0
   &endblock=99999999
   &page=1
   &offset=10
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Get a list of 'Internal' Transactions by Address

Returns the list of internal transactions performed by an address, with optional pagination.

https://api-opbnb-testnet.bscscan.com/api
   ?module=account
   &action=txlistinternal
   &address=0xc35ad6d767948cabe5c7f70445cf7dcec1a67687
   &startblock=0
   &endblock=99999999
   &page=1
   &offset=10
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Get 'Internal Transactions' by Transaction Hash

Returns the list of internal transactions performed within a transaction.

Note : This API endpoint returns a maximum of 10000 records only.

https://api-opbnb-testnet.bscscan.com/api
   ?module=account
   &action=txlistinternal
   &txhash=0x9b882a2f9a357e93e5dad86efdf5e21058fd854ec119b90a575e858e3ae09319
   &apikey=YourApiKeyToken

Query Parameters

Get "Internal Transactions" by Block Range

Returns the list of internal transactions performed within a block range, with optional pagination.

https://api-opbnb-testnet.bscscan.com/api
   ?module=account
   &action=txlistinternal
   &startblock=484887
   &endblock=765371
   &page=1
   &offset=10
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Get a list of 'ERC20 - Token Transfer Events' by Address

Returns the list of ERC-20 tokens transferred by an address, with optional filtering by token contract.

https://api-opbnb-testnet.bscscan.com/api
   ?module=account
   &action=tokentx
   &contractaddress=0x5F49adeD456DbCCe426cA8B6cAfB3b1305c953c8
   &address=0x59e123596b0fae85e06aa072575d0dc74ef5a7c5
   &page=1
   &offset=100
   &startblock=0
   &endblock=99999999
   &sort=asc
   &apikey=YourApiKeyToken

Usage:

  • ERC-20 transfers from an address, specify the address parameter

  • ERC-20 transfers from a contract address, specify the contract address parameter

  • ERC-20 transfers from an address filtered by a token contract, specify both address and contract address parameters.

Query Parameters

Get a list of 'ERC721 - Token Transfer Events' by Address

Returns the list of ERC-721 ( NFT ) tokens transferred by an address, with optional filtering by token contract

https://api-opbnb-testnet.bscscan.com/api
   ?module=account
   &action=tokennfttx
   &contractaddress=0x1a4fF088Af61F4564d43b7060cc4bE0274Bdd3d4
   &address=0x37864e925cca445e2647d6674bff7f7738397fe0
   &page=1
   &offset=100
   &startblock=0
   &endblock=99999999
   &sort=asc
   &apikey=YourApiKeyToken

Usage:

  • ERC-721 transfers from an address, specify the address parameter

  • ERC-721 transfers from a contract address, specify the contract address parameter

  • ERC-721 transfers from an address filtered by a token contract, specify both address and contract address parameters.

Query Parameters

Last updated