LogoLogo
opBNB
opBNB
  • Introduction
  • ✨Getting Started
    • Creating an Account
    • Getting an API key
    • Endpoint URLs
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth/Parity Proxy
    • Tokens
    • Stats
  • 🔧Misc Tools & Utilities
    • Libraries
  • 🤝Support
    • FAQ
    • Rate Limits
    • Common Error Messages
    • Getting Help
  • Visit opBNB BscScan.io
Powered by GitBook
On this page
  • Get BNB Balance for a Single Address
  • Get BNB Balance for Multiple Addresses in a Single Call
  • Get a list of 'Normal' Transactions By Address
  • Get a list of 'Internal' Transactions by Address
  • Get 'Internal Transactions' by Transaction Hash
  • Get "Internal Transactions" by Block Range
  • Get a list of 'BEP20 - Token Transfer Events' by Address
  • Get a list of 'BEP721 - Token Transfer Events' by Address
  • Get a list of 'BEP1155 - Token Transfer Events' by Address
  • Get list of Blocks Validated by Address

Was this helpful?

  1. API Endpoints

Accounts

PreviousEndpoint URLsNextContracts

Last updated 1 year ago

Was this helpful?

Endpoints with are under the API Pro subscription. To upgrade your API plan, browse through the page.

Get BNB Balance for a Single Address

Returns the BNB balance of a given address.

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

Try this endpoint in your

Query Parameters

Parameter
Description

address

the string representing the address to check for balance

tag

the string pre-defined block parameter, either earliest, pending or latest

Sample response

{
  "status": "1",
  "message": "OK",
  "result": "728700000000000000"
}

Tip: The result is returned in

Convert BNB units using our

Get BNB Balance for Multiple Addresses in a Single Call

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

https://api-opbnb.bscscan.com/api
   ?module=account
   &action=balancemulti
   &address=0x77669b39d88A10A2eD84CeDE5C9Aa78bf88E6c79,0xB19f6698d63D51Cfa0D6eb4490ca83Fcd640F462,0x198ef1ec325a96cc354c7266a038be8b5c558f67
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

Parameter
Description

address

the strings representing the addresses to check for balance, separated by ,

up to 20 addresses per call

tag

the integer pre-defined block parameter, either earliest, pending or latest

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":[
      {
         "account":"0x77669b39d88A10A2eD84CeDE5C9Aa78bf88E6c79",
         "balance":"7224750391581444"
      },
      {
         "account":"0xB19f6698d63D51Cfa0D6eb4490ca83Fcd640F462",
         "balance":"218823002268560243"
      },
      {
         "account":"0x198ef1ec325a96cc354c7266a038be8b5c558f67",
         "balance":"0"
      }
   ]
}

Get a list of 'Normal' Transactions By Address

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

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

Query Parameters

Parameter
Description

address

the string representing the addresses to check for balance

startblock

the integer block number to start searching for transactions

endblock

the integer block number to stop searching for transactions

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending Tip: Specify a smaller startblock and endblock range for faster search results.

Sample Response

{
  "status": "1",
  "message": "OK",
  "result": [
    {
      "blockNumber": "7764550",
      "timeStamp": "1699518273",
      "hash": "0x185bac0d10d654ea2275ed951edb5380ecb73a3c083dc0be939af235d9e04820",
      "nonce": "514",
      "blockHash": "0xb114af841a7581599ccdeb5a071a7ad3eabc7284b7a28a47da243990f69295c6",
      "transactionIndex": "3",
      "from": "0x001ceb373c83ae75b9f5cf78fc2aba3e185d09e2",
      "to": "0xc1219367de132d0e0b2cc96bc8a057ecca67b4f7",
      "value": "1582501750000000000",
      "gas": "21000",
      "gasPrice": "1009",
      "isError": "0",
      "txreceipt_status": "1",
      "input": "0x",
      "contractAddress": "",
      "cumulativeGasUsed": "175139",
      "gasUsed": "21000",
      "confirmations": "31681",
      "methodId": "0x",
      "functionName": ""
    },
    {
      "blockNumber": "7765951",
      "timeStamp": "1699519674",
      "hash": "0x6ae924d0f6fe30e5a736684dc40c26267b50d33fd6d90d121a668737d4d4023d",
      "nonce": "0",
      "blockHash": "0xcaf180daf850bc74725d4be48f9517571c4548cc33f1974da4e8651a989b3f31",
      "transactionIndex": "1",
      "from": "0xc1219367de132d0e0b2cc96bc8a057ecca67b4f7",
      "to": "0x4200000000000000000000000000000000000010",
      "value": "1580000000000000000",
      "gas": "120529",
      "gasPrice": "10008",
      "isError": "0",
      "txreceipt_status": "1",
      "input": "0x32b7006d000000000000000000000000deaddeaddeaddeaddeaddeaddeaddeaddead000000000000000000000000000000000000000000000000000015ed49a0f91e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000",
      "contractAddress": "",
      "cumulativeGasUsed": "181060",
      "gasUsed": "117047",
      "confirmations": "30280",
      "methodId": "0x32b7006d",
      "functionName": ""
    },
    {
      "blockNumber": "7766324",
      "timeStamp": "1699520047",
      "hash": "0x0809f9786514d844eb815f6e8ec2c1d816828b2c2cce6af94d635416494fd9f9",
      "nonce": "1",
      "blockHash": "0x17bcf12b67952d45ba50aa471774cc2a74359d0823891c535cc1d55e711bc4b6",
      "transactionIndex": "1",
      "from": "0xc1219367de132d0e0b2cc96bc8a057ecca67b4f7",
      "to": "0x9e5aac1ba1a2e6aed6b32689dfcf62a509ca96f3",
      "value": "0",
      "gas": "100000",
      "gasPrice": "10008",
      "isError": "0",
      "txreceipt_status": "1",
      "input": "0x095ea7b3000000000000000000000000a02d433868c7ad58c8a2a820d6c3ff8a15536acc000000000000000000000000000000000000000000000005f68e8131ecf80000",
      "contractAddress": "",
      "cumulativeGasUsed": "93168",
      "gasUsed": "46255",
      "confirmations": "29907",
      "methodId": "0x095ea7b3",
      "functionName": "approve(address to,uint256 tokenId)"
    },
    {
      "blockNumber": "7766398",
      "timeStamp": "1699520121",
      "hash": "0x6e11a166f38230e91dde37c2ec3d4efb3e7fda16b0e9e6717fe13abd54c73d6c",
      "nonce": "2",
      "blockHash": "0x975b0795c9055eb8fbecbcd0506a9c1dab514d212e243e13a6b4429ad62cc990",
      "transactionIndex": "2",
      "from": "0xc1219367de132d0e0b2cc96bc8a057ecca67b4f7",
      "to": "0xa02d433868c7ad58c8a2a820d6c3ff8a15536acc",
      "value": "40000000000000",
      "gas": "500000",
      "gasPrice": "10008",
      "isError": "0",
      "txreceipt_status": "1",
      "input": "0x00a30f930000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000027c56d5000000000000000000000000000000000000000000000000000000000077359400000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000357e6b5d0500000000000000000000000000000000000000000000000000000246139ca80000000000000000000000000000000000000000000000000000000000000000000",
      "contractAddress": "",
      "cumulativeGasUsed": "876554",
      "gasUsed": "369661",
      "confirmations": "29833",
      "methodId": "0x00a30f93",
      "functionName": ""
    },
    {
      "blockNumber": "7769661",
      "timeStamp": "1699523384",
      "hash": "0xd6e052562e4dde463ce0ded9414f1f19f40b0462c031bd13f08ef3aa0459ae4a",
      "nonce": "3",
      "blockHash": "0xc8709ed06f33808f200aac36281662e110de3f72543c25812b8fd9a91d9e8b78",
      "transactionIndex": "3",
      "from": "0xc1219367de132d0e0b2cc96bc8a057ecca67b4f7",
      "to": "0xa02d433868c7ad58c8a2a820d6c3ff8a15536acc",
      "value": "40000000000000",
      "gas": "380000",
      "gasPrice": "10008",
      "isError": "0",
      "txreceipt_status": "1",
      "input": "0xfc2ee01d0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000027c56d500000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000355871627b90000000000000000000000000000000000000000000000000000246139ca8000",
      "contractAddress": "",
      "cumulativeGasUsed": "650717",
      "gasUsed": "260394",
      "confirmations": "26570",
      "methodId": "0xfc2ee01d",
      "functionName": ""
    },
    {
      "blockNumber": "7775506",
      "timeStamp": "1699529229",
      "hash": "0x8bdbffcd50d93af63649a4d777f2f817c9f82dcfd6c25090bfea1b68fe918479",
      "nonce": "4",
      "blockHash": "0x0c75a488ecd5277de2875ffdd9c9eee34245d36961b167b244fdd68f57448c21",
      "transactionIndex": "5",
      "from": "0xc1219367de132d0e0b2cc96bc8a057ecca67b4f7",
      "to": "0x9e5aac1ba1a2e6aed6b32689dfcf62a509ca96f3",
      "value": "0",
      "gas": "100000",
      "gasPrice": "10008",
      "isError": "0",
      "txreceipt_status": "1",
      "input": "0x095ea7b3000000000000000000000000a02d433868c7ad58c8a2a820d6c3ff8a15536acc000000000000000000000000000000000000000000000005e7842d4db4904000",
      "contractAddress": "",
      "cumulativeGasUsed": "429220",
      "gasUsed": "29167",
      "confirmations": "20725",
      "methodId": "0x095ea7b3",
      "functionName": "approve(address to,uint256 tokenId)"
    },
    {
      "blockNumber": "7775525",
      "timeStamp": "1699529248",
      "hash": "0x392f83cdfbafe48977598ffdc20a636f298d66741f5c65457abe2ec9d9fe72d5",
      "nonce": "5",
      "blockHash": "0x88b797811dca7936e16990ff1737c8cacd780a722b345f8a1c161c46e4e0f93c",
      "transactionIndex": "1",
      "from": "0xc1219367de132d0e0b2cc96bc8a057ecca67b4f7",
      "to": "0xa02d433868c7ad58c8a2a820d6c3ff8a15536acc",
      "value": "40000000000000",
      "gas": "500000",
      "gasPrice": "10008",
      "isError": "0",
      "txreceipt_status": "1",
      "input": "0x00a30f930000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000027c661740000000000000000000000000000000000000000000000000000000007735940000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000035949d175520000000000000000000000000000000000000000000000000000246139ca80000000000000000000000000000000000000000000000000000000000000000000",
      "contractAddress": "",
      "cumulativeGasUsed": "399498",
      "gasUsed": "352573",
      "confirmations": "20706",
      "methodId": "0x00a30f93",
      "functionName": ""
    },
    {
      "blockNumber": "7778039",
      "timeStamp": "1699531762",
      "hash": "0x031c6ab1a59e71b9ecd8c8e48b923a63e939a85d67c47e17df6839af84f8e3f8",
      "nonce": "6",
      "blockHash": "0x141324bc3da2d51992a8305ee09b11bb0e8f79b479874a055687e9741899b7ff",
      "transactionIndex": "1",
      "from": "0xc1219367de132d0e0b2cc96bc8a057ecca67b4f7",
      "to": "0xa02d433868c7ad58c8a2a820d6c3ff8a15536acc",
      "value": "40000000000000",
      "gas": "380000",
      "gasPrice": "10008",
      "isError": "0",
      "txreceipt_status": "1",
      "input": "0xfc2ee01d0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000027c661740000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000357d6dde7490000000000000000000000000000000000000000000000000000246139ca8000",
      "contractAddress": "",
      "cumulativeGasUsed": "293807",
      "gasUsed": "243306",
      "confirmations": "18192",
      "methodId": "0xfc2ee01d",
      "functionName": ""
    }
  ]
}

Get a list of 'Internal' Transactions by Address

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

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

Query Parameters

Parameter
Description

address

the string representing the addresses to check for balance

startblock

the integer block number to start searching for transactions

endblock

the integer block number to stop searching for transactions

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Sample Response

{
  "status": "1",
  "message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
  "result": [
    {
      "blockNumber": "687223",
      "timeStamp": "1692440946",
      "hash": "0x08835cad3f0406e034c0696fdcbec8ea74ff36018e0e27816c6f7e026008d6c8",
      "from": "0x4200000000000000000000000000000000000010",
      "to": "0x0c4496197429bb59f681acde983beb4cbf1df347",
      "value": "1050000000000000000",
      "contractAddress": "",
      "input": "",
      "type": "call",
      "gas": "345554",
      "gasUsed": "0",
      "traceId": "0_1_1_1_1",
      "isError": "0",
      "errCode": ""
    }
  ]
}

Get 'Internal Transactions' by Transaction Hash

Returns the list of internal transactions performed within a transaction.

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

Query Parameters

Parameter
Description

txhash

the string representing the transaction hash to check for internal transactions

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":[
      {
         "blockNumber": "7560845",
         "timeStamp": "1699314568",
         "from": "0x805ee4fa91f5bf81bf9a0b2dabe1114e86f3c97f",
         "to": "0x4d8fd4681e5dbbd4ebd510d6a3b0fde7907d2142",
         "value": "54620330742936",
         "contractAddress": "",
         "input": "",
         "type": "call",
         "gas": "2300",
         "gasUsed": "0",
         "isError": "0",
         "errCode": ""   
      }
   ]
}

The isError field returns 0 for successful transactions and 1 for rejected/cancelled transactions.

Get "Internal Transactions" by Block Range

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

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

Query Parameters

Parameter
Description

startblock

the integer block number to start searching for transactions

endblock

the integer block number to stop searching for transactions

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Sample Response

{
  "status": "1",
  "message": "OK",
  "result": [
    {
      "blockNumber": "6750020",
      "timeStamp": "1698503743",
      "hash": "0x6d31b0f74cc84e973aa3d363b7696ddff6be82ccbfe1ea56bb6408fd307d7d5b",
      "from": "0xce0e4e4d2dc0033ce2dbc35855251f4f3d086d0a",
      "to": "0x8fa8c8db17fa58eac90308253a306aa4d8d9a22d",
      "value": "3000000000000000",
      "contractAddress": "",
      "input": "",
      "type": "call",
      "gas": "151818",
      "gasUsed": "34432",
      "traceId": "0_1_1",
      "isError": "0",
      "errCode": ""
    },
    {
      "blockNumber": "6750020",
      "timeStamp": "1698503743",
      "hash": "0x6d31b0f74cc84e973aa3d363b7696ddff6be82ccbfe1ea56bb6408fd307d7d5b",
      "from": "0x8fa8c8db17fa58eac90308253a306aa4d8d9a22d",
      "to": "0xb20f0105f3598652a3be569132f7b3f341106ddc",
      "value": "3000000000000000",
      "contractAddress": "",
      "input": "",
      "type": "call",
      "gas": "130777",
      "gasUsed": "15379",
      "traceId": "0_1_1_1_1",
      "isError": "0",
      "errCode": ""
    },
    {
      "blockNumber": "6750020",
      "timeStamp": "1698503743",
      "hash": "0x6397def5957698cc7651cfab62c310e8075513726897c84ffe5f554d2a6509ba",
      "from": "0xce0e4e4d2dc0033ce2dbc35855251f4f3d086d0a",
      "to": "0x8fa8c8db17fa58eac90308253a306aa4d8d9a22d",
      "value": "1000000000000000",
      "contractAddress": "",
      "input": "",
      "type": "call",
      "gas": "62307",
      "gasUsed": "34432",
      "traceId": "0_1_1",
      "isError": "0",
      "errCode": ""
    },
    {
      "blockNumber": "6750020",
      "timeStamp": "1698503743",
      "hash": "0x6397def5957698cc7651cfab62c310e8075513726897c84ffe5f554d2a6509ba",
      "from": "0x8fa8c8db17fa58eac90308253a306aa4d8d9a22d",
      "to": "0xb20f0105f3598652a3be569132f7b3f341106ddc",
      "value": "1000000000000000",
      "contractAddress": "",
      "input": "",
      "type": "call",
      "gas": "44042",
      "gasUsed": "15379",
      "traceId": "0_1_1_1_1",
      "isError": "0",
      "errCode": ""
    }
  ]
}

The isError field returns 0 for successful transactions and 1 for rejected/cancelled transactions.

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

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

https://api-opbnb.bscscan.com/api
   ?module=account
   &action=tokentx
   &contractaddress=0xB01D49C26416a352fac4Fbb3D555d5F2543E3247
   &address=0x60be5553f70f0dabc3592a5b6eea401195172638
   &page=1
   &offset=100
   &startblock=0
   &endblock=5706190
   &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

Parameter
Description

address

the string representing the address to check for balance

contractaddress

the string representing the token contract address to check for balance

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

startblock

the integer block number to start searching for transactions

endblock

the integer block number to stop searching for transactions

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Sample Response

{
  "status": "1",
  "message": "OK",
  "result": [
    {
      "blockNumber": "5358340",
      "timeStamp": "1697112063",
      "hash": "0x5f4aa2722e2743b1c38ce77fab6cb40e3e4074f11d63830f0a47fca736ab9b5d",
      "nonce": "27",
      "blockHash": "0xf8fb37d35fe28f3372aaf9d8cb22a44a6fe5e75586425162c4810184070c9bb3",
      "from": "0x03617ec3f03fb4549d7e560b19620fd152098ed4",
      "contractAddress": "0xb01d49c26416a352fac4fbb3d555d5f2543e3247",
      "to": "0x60be5553f70f0dabc3592a5b6eea401195172638",
      "value": "5997600000000000000000",
      "tokenName": "CubiSwap Finance Token",
      "tokenSymbol": "CUBI",
      "tokenDecimal": "18",
      "transactionIndex": "2",
      "gas": "20000000",
      "gasPrice": "1000000",
      "gasUsed": "5556371",
      "cumulativeGasUsed": "5744082",
      "input": "deprecated",
      "confirmations": "2821367"
    },
    {
      "blockNumber": "5562176",
      "timeStamp": "1697315899",
      "hash": "0x2d77f833e0bc7648ad3df734ce9e80b935d432bcd2a3bb30e9d92bffa1f5a14c",
      "nonce": "1",
      "blockHash": "0xe93418cebb21aaa755800fe9d8092c1a36cc999428ed5dd14513e9801ad54323",
      "from": "0x60be5553f70f0dabc3592a5b6eea401195172638",
      "contractAddress": "0xb01d49c26416a352fac4fbb3d555d5f2543e3247",
      "to": "0x8e0c7c33637e0c6bce51a34e961c04c35aac2706",
      "value": "2900000000000000000000",
      "tokenName": "CubiSwap Finance Token",
      "tokenSymbol": "CUBI",
      "tokenDecimal": "18",
      "transactionIndex": "2",
      "gas": "300000",
      "gasPrice": "1000000",
      "gasUsed": "131931",
      "cumulativeGasUsed": "203432",
      "input": "deprecated",
      "confirmations": "2617531"
    },
    {
      "blockNumber": "5702565",
      "timeStamp": "1697456288",
      "hash": "0x37c853b980011185fa58943ea629c7ed06292dbbca65dbaed4044f9bdd0c8aa3",
      "nonce": "2",
      "blockHash": "0x2578a5513d95b5bf63b2d92eeaa8394948fd99816b4dea958c457df1f366a14a",
      "from": "0x8e0c7c33637e0c6bce51a34e961c04c35aac2706",
      "contractAddress": "0xb01d49c26416a352fac4fbb3d555d5f2543e3247",
      "to": "0x60be5553f70f0dabc3592a5b6eea401195172638",
      "value": "1238723613218954618243",
      "tokenName": "CubiSwap Finance Token",
      "tokenSymbol": "CUBI",
      "tokenDecimal": "18",
      "transactionIndex": "1",
      "gas": "300000",
      "gasPrice": "1000000",
      "gasUsed": "115501",
      "cumulativeGasUsed": "179514",
      "input": "deprecated",
      "confirmations": "2477142"
    },
    {
      "blockNumber": "5706190",
      "timeStamp": "1697459913",
      "hash": "0x08834f45a194b1ac85703c1cd0917c673d7e347032d8138385fece1c52c44966",
      "nonce": "3",
      "blockHash": "0xc0307019f83ac9dbfa657eace8d11d6856f5b20f6a6d20f603bf34eb7b87fb4f",
      "from": "0x8e0c7c33637e0c6bce51a34e961c04c35aac2706",
      "contractAddress": "0xb01d49c26416a352fac4fbb3d555d5f2543e3247",
      "to": "0x60be5553f70f0dabc3592a5b6eea401195172638",
      "value": "5935326306460077482965",
      "tokenName": "CubiSwap Finance Token",
      "tokenSymbol": "CUBI",
      "tokenDecimal": "18",
      "transactionIndex": "1",
      "gas": "300000",
      "gasPrice": "1000000",
      "gasUsed": "115513",
      "cumulativeGasUsed": "162426",
      "input": "deprecated",
      "confirmations": "2473517"
    }
  ]
}

Get a list of 'BEP721 - 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-opbnb.bscscan.com/api
   ?module=account
   &action=tokennfttx
   &contractaddress=0x258C232965de5095AAAD2a91e6b5518B57d02B1f
   &address=0x2BEA136A4e1187C2631D3FaF024f965e034E7c01
   &page=1
   &offset=10
   &startblock=0
   &endblock=1525780
   &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

Parameter
Description

address

the string representing the address to check for balance

contractaddress

the string representing the token contract address to check for balance

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

startblock

the integer block number to start searching for transactions

endblock

the integer block number to stop searching for transactions

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Sample Response

{
  "status": "1",
  "message": "OK",
  "result": [
    {
      "blockNumber": "1216376",
      "timeStamp": "1692970099",
      "hash": "0x11904db73aa5e4288eb34a238029a14261f7ebaabe43f8998e82c7b2d8fa704b",
      "nonce": "1905",
      "blockHash": "0x69c141fe2ac7b22735f37c3f6557abb5e953af1a449d448e561eba54092f297f",
      "from": "0x0000000000000000000000000000000000000000",
      "contractAddress": "0x258c232965de5095aaad2a91e6b5518b57d02b1f",
      "to": "0x2bea136a4e1187c2631d3faf024f965e034e7c01",
      "tokenID": "20932",
      "tokenName": "PVU PLANT",
      "tokenSymbol": "PVU PLANT",
      "tokenDecimal": "0",
      "transactionIndex": "1",
      "gas": "50000000",
      "gasPrice": "10000",
      "gasUsed": "1892392",
      "cumulativeGasUsed": "1942893",
      "input": "deprecated",
      "confirmations": "6963122"
    },
    {
      "blockNumber": "1216376",
      "timeStamp": "1692970099",
      "hash": "0x11904db73aa5e4288eb34a238029a14261f7ebaabe43f8998e82c7b2d8fa704b",
      "nonce": "1905",
      "blockHash": "0x69c141fe2ac7b22735f37c3f6557abb5e953af1a449d448e561eba54092f297f",
      "from": "0x0000000000000000000000000000000000000000",
      "contractAddress": "0x258c232965de5095aaad2a91e6b5518b57d02b1f",
      "to": "0x2bea136a4e1187c2631d3faf024f965e034e7c01",
      "tokenID": "20933",
      "tokenName": "PVU PLANT",
      "tokenSymbol": "PVU PLANT",
      "tokenDecimal": "0",
      "transactionIndex": "1",
      "gas": "50000000",
      "gasPrice": "10000",
      "gasUsed": "1892392",
      "cumulativeGasUsed": "1942893",
      "input": "deprecated",
      "confirmations": "6963122"
    },
    {
      "blockNumber": "1216376",
      "timeStamp": "1692970099",
      "hash": "0x11904db73aa5e4288eb34a238029a14261f7ebaabe43f8998e82c7b2d8fa704b",
      "nonce": "1905",
      "blockHash": "0x69c141fe2ac7b22735f37c3f6557abb5e953af1a449d448e561eba54092f297f",
      "from": "0x0000000000000000000000000000000000000000",
      "contractAddress": "0x258c232965de5095aaad2a91e6b5518b57d02b1f",
      "to": "0x2bea136a4e1187c2631d3faf024f965e034e7c01",
      "tokenID": "20934",
      "tokenName": "PVU PLANT",
      "tokenSymbol": "PVU PLANT",
      "tokenDecimal": "0",
      "transactionIndex": "1",
      "gas": "50000000",
      "gasPrice": "10000",
      "gasUsed": "1892392",
      "cumulativeGasUsed": "1942893",
      "input": "deprecated",
      "confirmations": "6963122"
    },
    {
      "blockNumber": "1216376",
      "timeStamp": "1692970099",
      "hash": "0x11904db73aa5e4288eb34a238029a14261f7ebaabe43f8998e82c7b2d8fa704b",
      "nonce": "1905",
      "blockHash": "0x69c141fe2ac7b22735f37c3f6557abb5e953af1a449d448e561eba54092f297f",
      "from": "0x0000000000000000000000000000000000000000",
      "contractAddress": "0x258c232965de5095aaad2a91e6b5518b57d02b1f",
      "to": "0x2bea136a4e1187c2631d3faf024f965e034e7c01",
      "tokenID": "20935",
      "tokenName": "PVU PLANT",
      "tokenSymbol": "PVU PLANT",
      "tokenDecimal": "0",
      "transactionIndex": "1",
      "gas": "50000000",
      "gasPrice": "10000",
      "gasUsed": "1892392",
      "cumulativeGasUsed": "1942893",
      "input": "deprecated",
      "confirmations": "6963122"
    },
    {
      "blockNumber": "1216376",
      "timeStamp": "1692970099",
      "hash": "0x11904db73aa5e4288eb34a238029a14261f7ebaabe43f8998e82c7b2d8fa704b",
      "nonce": "1905",
      "blockHash": "0x69c141fe2ac7b22735f37c3f6557abb5e953af1a449d448e561eba54092f297f",
      "from": "0x0000000000000000000000000000000000000000",
      "contractAddress": "0x258c232965de5095aaad2a91e6b5518b57d02b1f",
      "to": "0x2bea136a4e1187c2631d3faf024f965e034e7c01",
      "tokenID": "20936",
      "tokenName": "PVU PLANT",
      "tokenSymbol": "PVU PLANT",
      "tokenDecimal": "0",
      "transactionIndex": "1",
      "gas": "50000000",
      "gasPrice": "10000",
      "gasUsed": "1892392",
      "cumulativeGasUsed": "1942893",
      "input": "deprecated",
      "confirmations": "6963122"
    },
    {
      "blockNumber": "1216376",
      "timeStamp": "1692970099",
      "hash": "0x11904db73aa5e4288eb34a238029a14261f7ebaabe43f8998e82c7b2d8fa704b",
      "nonce": "1905",
      "blockHash": "0x69c141fe2ac7b22735f37c3f6557abb5e953af1a449d448e561eba54092f297f",
      "from": "0x0000000000000000000000000000000000000000",
      "contractAddress": "0x258c232965de5095aaad2a91e6b5518b57d02b1f",
      "to": "0x2bea136a4e1187c2631d3faf024f965e034e7c01",
      "tokenID": "20937",
      "tokenName": "PVU PLANT",
      "tokenSymbol": "PVU PLANT",
      "tokenDecimal": "0",
      "transactionIndex": "1",
      "gas": "50000000",
      "gasPrice": "10000",
      "gasUsed": "1892392",
      "cumulativeGasUsed": "1942893",
      "input": "deprecated",
      "confirmations": "6963122"
    },
    {
      "blockNumber": "1216376",
      "timeStamp": "1692970099",
      "hash": "0x11904db73aa5e4288eb34a238029a14261f7ebaabe43f8998e82c7b2d8fa704b",
      "nonce": "1905",
      "blockHash": "0x69c141fe2ac7b22735f37c3f6557abb5e953af1a449d448e561eba54092f297f",
      "from": "0x0000000000000000000000000000000000000000",
      "contractAddress": "0x258c232965de5095aaad2a91e6b5518b57d02b1f",
      "to": "0x2bea136a4e1187c2631d3faf024f965e034e7c01",
      "tokenID": "20938",
      "tokenName": "PVU PLANT",
      "tokenSymbol": "PVU PLANT",
      "tokenDecimal": "0",
      "transactionIndex": "1",
      "gas": "50000000",
      "gasPrice": "10000",
      "gasUsed": "1892392",
      "cumulativeGasUsed": "1942893",
      "input": "deprecated",
      "confirmations": "6963122"
    },
    {
      "blockNumber": "1216376",
      "timeStamp": "1692970099",
      "hash": "0x11904db73aa5e4288eb34a238029a14261f7ebaabe43f8998e82c7b2d8fa704b",
      "nonce": "1905",
      "blockHash": "0x69c141fe2ac7b22735f37c3f6557abb5e953af1a449d448e561eba54092f297f",
      "from": "0x0000000000000000000000000000000000000000",
      "contractAddress": "0x258c232965de5095aaad2a91e6b5518b57d02b1f",
      "to": "0x2bea136a4e1187c2631d3faf024f965e034e7c01",
      "tokenID": "20939",
      "tokenName": "PVU PLANT",
      "tokenSymbol": "PVU PLANT",
      "tokenDecimal": "0",
      "transactionIndex": "1",
      "gas": "50000000",
      "gasPrice": "10000",
      "gasUsed": "1892392",
      "cumulativeGasUsed": "1942893",
      "input": "deprecated",
      "confirmations": "6963122"
    },
    {
      "blockNumber": "1216376",
      "timeStamp": "1692970099",
      "hash": "0x11904db73aa5e4288eb34a238029a14261f7ebaabe43f8998e82c7b2d8fa704b",
      "nonce": "1905",
      "blockHash": "0x69c141fe2ac7b22735f37c3f6557abb5e953af1a449d448e561eba54092f297f",
      "from": "0x0000000000000000000000000000000000000000",
      "contractAddress": "0x258c232965de5095aaad2a91e6b5518b57d02b1f",
      "to": "0x2bea136a4e1187c2631d3faf024f965e034e7c01",
      "tokenID": "20940",
      "tokenName": "PVU PLANT",
      "tokenSymbol": "PVU PLANT",
      "tokenDecimal": "0",
      "transactionIndex": "1",
      "gas": "50000000",
      "gasPrice": "10000",
      "gasUsed": "1892392",
      "cumulativeGasUsed": "1942893",
      "input": "deprecated",
      "confirmations": "6963122"
    },
    {
      "blockNumber": "1216376",
      "timeStamp": "1692970099",
      "hash": "0x11904db73aa5e4288eb34a238029a14261f7ebaabe43f8998e82c7b2d8fa704b",
      "nonce": "1905",
      "blockHash": "0x69c141fe2ac7b22735f37c3f6557abb5e953af1a449d448e561eba54092f297f",
      "from": "0x0000000000000000000000000000000000000000",
      "contractAddress": "0x258c232965de5095aaad2a91e6b5518b57d02b1f",
      "to": "0x2bea136a4e1187c2631d3faf024f965e034e7c01",
      "tokenID": "20941",
      "tokenName": "PVU PLANT",
      "tokenSymbol": "PVU PLANT",
      "tokenDecimal": "0",
      "transactionIndex": "1",
      "gas": "50000000",
      "gasPrice": "10000",
      "gasUsed": "1892392",
      "cumulativeGasUsed": "1942893",
      "input": "deprecated",
      "confirmations": "6963122"
    }
  ]
}

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

Returns the list of BEP-1155 ( Multi Token Standard ) tokens transferred by an address, with optional filtering by token contract.

https://api-opbnb.bscscan.com/api
   ?module=account
   &action=token1155tx
   &contractaddress=0x8be663ECd492B956fA0D7C054D77a97695B7EC48
   &address=0x36847bd027558556a1092ed91cfd865cf4a8eef2
   &page=1
   &offset=100
   &startblock=0
   &endblock=5935555
   &sort=asc
   &apikey=YourApiKeyToken

Usage:

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

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

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

Query Parameters

Parameter
Description

address

the string representing the address to check for balance

contractaddress

the string representing the token contract address to check for balance

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

startblock

the integer block number to start searching for transactions

endblock

the integer block number to stop searching for transactions

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Sample Response

{
  "status": "1",
  "message": "OK",
  "result": [
    {
      "blockNumber": "5935015",
      "timeStamp": "1697688738",
      "hash": "0xe1a26dc5e731561c55e45ea94ea09dc733b9b08d45571c2e2f1bed63df21bbce",
      "nonce": "8",
      "blockHash": "0x8aa94dd03c71f5965cd66f304df45882af68e8d3b052992a0b9b76cf3cb76a67",
      "transactionIndex": "5",
      "gas": "109998",
      "gasPrice": "10008",
      "gasUsed": "109998",
      "cumulativeGasUsed": "623637",
      "input": "deprecated",
      "contractAddress": "0x8be663ecd492b956fa0d7c054d77a97695b7ec48",
      "from": "0x0000000000000000000000000000000000000000",
      "to": "0x36847bd027558556a1092ed91cfd865cf4a8eef2",
      "tokenID": "0",
      "tokenValue": "5",
      "tokenName": "",
      "tokenSymbol": "",
      "confirmations": "2244928"
    },
    {
      "blockNumber": "5935224",
      "timeStamp": "1697688947",
      "hash": "0x6309e3dca2fe3fcd1c4afdbf29753210ce959fd5233531a87afaa183ba4afbb9",
      "nonce": "14",
      "blockHash": "0x5ef26e72874f5f2bfe63a3ead6a0643eab63f2e43a4114003674c424d6580348",
      "transactionIndex": "2",
      "gas": "169816",
      "gasPrice": "10008",
      "gasUsed": "167664",
      "cumulativeGasUsed": "389819",
      "input": "deprecated",
      "contractAddress": "0x8be663ecd492b956fa0d7c054d77a97695b7ec48",
      "from": "0x36847bd027558556a1092ed91cfd865cf4a8eef2",
      "to": "0xcf42ac2207e0daa36a3cd87d23f56cc1dc24bace",
      "tokenID": "0",
      "tokenValue": "1",
      "tokenName": "",
      "tokenSymbol": "",
      "confirmations": "2244719"
    },
    {
      "blockNumber": "5935357",
      "timeStamp": "1697689080",
      "hash": "0x354b238ed0d5edbef78ee87c1039fce4d4d25425a1b2d0727b74d8f36154ee19",
      "nonce": "15",
      "blockHash": "0xe7c379f586aef19b06455dfcc692f7ea13cdc040a25abea1c63a167476271584",
      "transactionIndex": "1",
      "gas": "169816",
      "gasPrice": "10008",
      "gasUsed": "167664",
      "cumulativeGasUsed": "231665",
      "input": "deprecated",
      "contractAddress": "0x8be663ecd492b956fa0d7c054d77a97695b7ec48",
      "from": "0x36847bd027558556a1092ed91cfd865cf4a8eef2",
      "to": "0xcf42ac2207e0daa36a3cd87d23f56cc1dc24bace",
      "tokenID": "0",
      "tokenValue": "1",
      "tokenName": "",
      "tokenSymbol": "",
      "confirmations": "2244586"
    },
    {
      "blockNumber": "5935510",
      "timeStamp": "1697689233",
      "hash": "0xa1e258c0926815df5cc2eacc31624268b38d743c6ed2a8d389a6129ed96d9abd",
      "nonce": "17",
      "blockHash": "0x0db04a316747e27c20162984fbe2a174532d8ddd5ad10c7df4cfa7dd0daf8661",
      "transactionIndex": "4",
      "gas": "169816",
      "gasPrice": "10008",
      "gasUsed": "167664",
      "cumulativeGasUsed": "789111",
      "input": "deprecated",
      "contractAddress": "0x8be663ecd492b956fa0d7c054d77a97695b7ec48",
      "from": "0x36847bd027558556a1092ed91cfd865cf4a8eef2",
      "to": "0xcf42ac2207e0daa36a3cd87d23f56cc1dc24bace",
      "tokenID": "0",
      "tokenValue": "1",
      "tokenName": "",
      "tokenSymbol": "",
      "confirmations": "2244433"
    }
  ]
}

Get list of Blocks Validated by Address

Returns the list of blocks validated by an address.

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

Query Parameters

Parameter
Description

address

the string representing the address to check for balance

blocktype

the string pre-defined block type, either blocks for canonical blocks or uncles for uncle blocks only

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

Sample Response

{
  "status": "1",
  "message": "OK",
  "result": [
    {
      "blockNumber": "8180931",
      "timeStamp": "1699934654",
      "blockReward": "2667210000"
    },
    {
      "blockNumber": "8180930",
      "timeStamp": "1699934653",
      "blockReward": "0"
    },
    {
      "blockNumber": "8180929",
      "timeStamp": "1699934652",
      "blockReward": "11264260000"
    },
    {
      "blockNumber": "8180928",
      "timeStamp": "1699934651",
      "blockReward": "882886280"
    },
    {
      "blockNumber": "8180927",
      "timeStamp": "1699934650",
      "blockReward": "483800000"
    },
    {
      "blockNumber": "8180926",
      "timeStamp": "1699934649",
      "blockReward": "0"
    },
    {
      "blockNumber": "8180925",
      "timeStamp": "1699934648",
      "blockReward": "4578164324"
    },
    {
      "blockNumber": "8180924",
      "timeStamp": "1699934647",
      "blockReward": "1165350000"
    },
    {
      "blockNumber": "8180923",
      "timeStamp": "1699934646",
      "blockReward": "2156190000"
    },
    {
      "blockNumber": "8180922",
      "timeStamp": "1699934645",
      "blockReward": "4228450000"
    }
  ]
}

Try this endpoint in your

📖 Tip: The result is returned in

Convert BNB units using our

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

Try this endpoint in your

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

Try this endpoint in your

Tip: Specify a smaller startblock and endblock range for faster search results

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

Try this endpoint in your

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

Try this endpoint in your

Try this endpoint in your

Try this endpoint in your

Try this endpoint in your

Try this endpoint in your

Note : The timeStamp is represented in ****

🎯
📝
📝
💡
📝
📝
🔗
browser
wei.
Unit Converter.
🔗
browser
🔗
browser
🔗
browser
🔗
browser
🔗
browser
🔗
browser
🔗
browser
🔗
browser
⏳
Unix timestamp.
🔗
📖
opBNB BscScan APIs
browser
wei.
Unit Converter.