Geth Proxy

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

eth_blockNumber

Returns the number of most recent block

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

No parameters required.

eth_getBlockByNumber

Returns information about a block by block number.

https://api-zkevm.polygonscan.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-zkevm.polygonscan.com/api
   ?module=proxy
   &action=eth_getBlockTransactionCountByNumber
   &tag=0x10d4f
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionByHash

Returns information about a transaction requested by transaction hash.

https://api-zkevm.polygonscan.com/api
   ?module=proxy
   &action=eth_getTransactionByHash
   &txhash=0x7a616e9ddcc48d3d5f5b4814ebbab08c4f818ef597eacc0a8e00fc1dc94dd380
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionByBlockNumberAndIndex

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

https://api-zkevm.polygonscan.com/api
   ?module=proxy
   &action=eth_getTransactionByBlockNumberAndIndex
   &tag=61CA8
   &index=0
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionCount

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

https://api-zkevm.polygonscan.com/api
   ?module=proxy
   &action=eth_getTransactionCount
   &address=0xd10c833f4305E1053a64Bc738c550381f48104Ca
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_sendRawTransaction

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

https://api-zkevm.polygonscan.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-zkevm.polygonscan.com/api
   ?module=proxy
   &action=eth_getTransactionReceipt
   &txhash=0xace92e20eef7633b13c3338467b3abf697a94a8b48e25c0e855c02eff5e96b0e
   &apikey=YourApiKeyToken

Query Parameters

eth_call

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

https://api-zkevm.polygonscan.com/api
   ?module=proxy
   &action=eth_call
   &to=0xd10c833f4305E1053a64Bc738c550381f48104Ca
   &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-zkevm.polygonscan.com/api
   ?module=proxy
   &action=eth_getCode
   &address=0xa2036f0538221a77A3937F1379699f44945018d0
   &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-zkevm.polygonscan.com/api
   ?module=proxy
   &action=eth_getStorageAt
   &address=0xa2036f0538221a77A3937F1379699f44945018d0
   &position=0x0
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_gasPrice

Returns the current price per gas in wei.

https://api-zkevm.polygonscan.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-zkevm.polygonscan.com/api
   ?module=proxy
   &action=eth_estimateGas
   &data=0x4e71d92d
   &to=0xd10c833f4305E1053a64Bc738c550381f48104Ca
   &value=0xff22
   &gasPrice=0x51da038cc
   &gas=2887FA00
   &apikey=YourApiKeyToken

Query Parameters

Last updated