Accounts

Get BNB Balance for a Single Address

Returns the BNB balance of a given address.

https://api-testnet.bscscan.com/api
   ?module=account
   &action=balance
   &address=0x4281eCF07378Ee595C564a59048801330f3084eE
   &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-testnet.bscscan.com/api
   ?module=account
   &action=balancemulti
   &address=0x3f349bBaFEc1551819B8be1EfEA2fC46cA749aA1,0x83EBba62B9232f2a6cB16576Af9D48b349D1816d,0x70F657164e5b75689b64B7fd1fA275F334f28e18
   &tag=latest
   &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-testnet.bscscan.com/api
   ?module=account
   &action=txlist
   &address=0x1a73C6c04bBc0aD52cd079B657553EaA30A26e61
   &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-testnet.bscscan.com/api
   ?module=account
   &action=txlistinternal
   &address=0x0000000000000000000000000000000000001004
   &startblock=0
   &endblock=2702578
   &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.

https://api-testnet.bscscan.com/api
   ?module=account
   &action=txlistinternal
   &txhash=0x409f02de7e636d38f7e17fe00ead583fe146399fef50d6b52fa380b247b1ccba
   &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-testnet.bscscan.com/api
   ?module=account
   &action=txlistinternal
   &startblock=0
   &endblock=2702578
   &page=1
   &offset=10
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Get a list of 'BEP-20 Token Transfer Events' by Address

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

https://api-testnet.bscscan.com/api
   ?module=account
   &action=tokentx
   &contractaddress=0xe02df9e3e622debdd69fb838bb799e3f168902c5
   &address=0x0c82922944350ffe0ec8ad1f08995ae0eed10e75
   &page=1
   &offset=5
   &sort=asc
   &apikey=YourApiKeyToken

Usage:

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

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

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

Query Parameters

Get a list of 'BEP-721 Token Transfer Events' by Address

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

https://api-testnet.bscscan.com/api
   ?module=account
   &action=tokennfttx
   &contractaddress=0xc0fed25b8f04f6205308ccb72d19aaf647a4ef36
   &address=0x238cab5406ca9d66982f8eceb85e3034dd01f865
   &page=1
   &offset=100
   &sort=asc
   &apikey=YourApiKeyToken

Usage:

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

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

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

Query Parameters

Get list of Blocks Validated by Address

Returns the list of blocks validated by an address.

https://api-testnet.bscscan.com/api
   ?module=account
   &action=getminedblocks
   &address=0xa2959d3f95eae5dc7d70144ce1b73b403b7eb6e0
   &blocktype=blocks
   &page=1
   &offset=10
   &apikey=YourApiKeyToken

Query Parameters

Last updated