Geth/Parity Proxy

For the full documentation of available parameters and descriptions, please visit the official Ethereum 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-testnet.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-testnet.bscscan.com/api
   ?module=proxy
   &action=eth_getBlockByNumber
   &tag=0xa11446
   &boolean=true
   &apikey=YourApiKeyToken

Query Parameters

eth_getBlockTransactionCountByNumber

Returns the number of transactions in a block.

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

Query Parameters

eth_getTransactionByHash

Returns information about a transaction requested by transaction hash.

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

Query Parameters

eth_getTransactionByBlockNumberAndIndex

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

https://api-testnet.bscscan.com/api
   ?module=proxy
   &action=eth_getTransactionByBlockNumberAndIndex
   &tag=0xa6c1c0
   &index=0x1
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionCount

Returns the number of transactions performed by an address**.**

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

Query Parameters

eth_sendRawTransaction

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

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

Query Parameters

eth_getTransactionReceipt

Returns the receipt of a transaction that has been validated.

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

Query Parameters

eth_call

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

https://api-testnet.bscscan.com/api
   ?module=proxy
   &action=eth_call
   &to=0xAEEF46DB4855E25702F8237E8f403FddcaF931C0
   &data=0x70a08231000000000000000000000000e16359506c028e51f16be38986ec5746251e9724
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

Note: The gas parameter is capped at 2x the current block gas limit.

eth_getCode

Returns code at a given address.

https://api-testnet.bscscan.com/api
   ?module=proxy
   &action=eth_getCode
   &address=0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82
   &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-testnet.bscscan.com/api
   ?module=proxy
   &action=eth_getStorageAt
   &address=0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82
   &position=0x0
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_gasPrice

Returns the current price per gas in wei.

https://api-testnet.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 gas used.

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

Query Parameters

Last updated