Geth/Parity Proxy

For the full documentation of available parameters and descriptions, please visit the official BNB JSON-RPC docs.

For compatibility with Parity, please prefix all hex strings with " 0x ".

eth_blockNumber

Returns the number of most recent block

https://api-opbnb.bscscan.com/api
   ?module=proxy
   &action=eth_blockNumber
   &apikey=YourApiKeyToken

No parameters required.

eth_getBlockByNumber

Returns information about a block by block number.

https://api-opbnb.bscscan.com/api
   ?module=proxy
   &action=eth_getBlockByNumber
   &tag=0x10d4f
   &boolean=true
   &apikey=YourApiKeyToken

Query Parameters

eth_getBlockTransactionCountByNumber

Returns the number of transactions in a block.

https://api-opbnb.bscscan.com/api
   ?module=proxy
   &action=eth_getBlockTransactionCountByNumber
   &tag=0x10FB78
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionByHash

Returns the information about a transaction requested by transaction hash.

https://api-opbnb.bscscan.com/api
   ?module=proxy
   &action=eth_getTransactionByHash
   &txhash=0x83f2e96f85dda79bde184adb5fb16fee208c39c28d36b067b5492ce7417aa4ed
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionByBlockNumberAndIndex

Returns information about a transaction by block number and transaction index position.

https://api-opbnb.bscscan.com/api
   ?module=proxy
   &action=eth_getTransactionByBlockNumberAndIndex
   &tag=0x10FB78
   &index=0x0
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionCount

Returns the number of transactions performed by an address.

https://api-opbnb.bscscan.com/api
   ?module=proxy
   &action=eth_getTransactionCount
   &address=0x966c8BB0f00A59f1150e39bdd1deb6B399fcECb1
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_sendRawTransaction

Submits a pre-signed transaction for broadcast to the BNB network.

https://api-opbnb.bscscan.com/api
   ?module=proxy
   &action=eth_sendRawTransaction
   &hex=0xb6f9de950000000000000000000000000000000000000000000060e4a7c84b0a882100000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000d5b12178161244cd1ac9ee4857b53f0b6e7c5a46000000000000000000000000000000000000000000000000000000277bd8ac6400000000000000000000000000000000000000000000000000000000000000020000000000000000000000004200000000000000000000000000000000000006000000000000000000000000196ad5a70279fc112db4f8baf6f5022c9b1cf0a5
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionReceipt

Returns the receipt of a transaction by transaction hash.

https://api-opbnb.bscscan.com/api
   ?module=proxy
   &action=eth_getTransactionReceipt
   &txhash=0xd193fe81e3fac69b6e4a42c373782e6e0e2cc6da7524acfe3328d06d90c0d7b9
   &apikey=YourApiKeyToken

Query Parameters

eth_call

Executes a new message call immediately without creating a transaction on the block chain.

https://api-opbnb.bscscan.com/api
   ?module=proxy
   &action=eth_call
   &to=0xc4f975d858056912131f89567a949c30495e2972
   &data=0x
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_getCode

Returns code at a given address.

https://api-opbnb.bscscan.com/api
   ?module=proxy
   &action=eth_getCode
   &address=0xa02d433868c7ad58c8a2a820d6c3ff8a15536acc
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_getStorageAt

Returns the value from a storage position at a given address.

This endpoint is still experimental and may have potential issues

https://api-opbnb.bscscan.com/api
   ?module=proxy
   &action=eth_getStorageAt
   &address=0xa02d433868c7ad58c8a2a820d6c3ff8a15536acc
   &position=0x0
   &tag=latest
   &apikey=YourApiKeyToken

Try this endpoint in your browser

Query Parameters

eth_gasPrice

Returns the current price per gas in wei.

https://api-opbnb.bscscan.com/api
   ?module=proxy
   &action=eth_gasPrice
   &apikey=YourApiKeyToken

No parameters required.

eth_estimateGas

Makes a call or transaction, which won't be added to the blockchain and returns the used gas.

https://api-opbnb.bscscan.com/api
   ?module=proxy
   &action=eth_estimateGas
   &data=0x4e71d92d
   &to=0xf0160428a8552ac9bb7e050d90eeade4ddd52843
   &value=0xff22
   &gasPrice=0x51da038cc
   &gas=0x5f5e0ff
   &apikey=YourApiKeyToken

Query Parameters

Last updated