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-alfajores.celoscan.io/api
   ?module=proxy
   &action=eth_blockNumber
   &apikey=YourApiKeyToken

No parameters required.

eth_getBlockByNumber

Returns information about a block by block number.

https://api-alfajores.celoscan.io/api
   ?module=proxy
   &action=eth_getBlockByNumber
   &tag=0x118e474
   &boolean=true
   &apikey=YourApiKeyToken

Query Parameters

eth_getUncleByBlockNumberAndIndex

Returns information about a uncle by block number.

https://api-alfajores.celoscan.io/api
   ?module=proxy
   &action=eth_getUncleByBlockNumberAndIndex
   &tag=0x585842
   &index=0x0
   &apikey=YourApiKeyToken

Query Parameters

eth_getBlockTransactionCountByNumber

Returns the number of transactions in a block.

https://api-alfajores.celoscan.io/api
   ?module=proxy
   &action=eth_getBlockTransactionCountByNumber
   &tag=0x585842
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionByHash

Returns the information about a transaction requested by transaction hash.

https://api-alfajores.celoscan.io/api
   ?module=proxy
   &action=eth_getTransactionByHash
   &txhash=0xd148bd8f6dec3058355ec1806a55f26e4f374ec6146af1b90e0563a3b53765ec
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionByBlockNumberAndIndex

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

https://api-alfajores.celoscan.io/api
   ?module=proxy
   &action=eth_getTransactionByBlockNumberAndIndex
   &tag=0x585842
   &index=0x1
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionCount

Returns the number of transactions performed by an address.

https://api-alfajores.celoscan.io/api
   ?module=proxy
   &action=eth_getTransactionCount
   &address=0x3f88c2b3e267e6b8e9de017cdb47a59ac9ecb284
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_sendRawTransaction

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

https://api-alfajores.celoscan.io/api
   ?module=proxy
   &action=eth_sendRawTransaction
   &hex=0x02f874030185012a05f200852e90edd00082520894eeee7341f206302f2216e39d715b96d8c6901a1c880de0b6b3a764000080c001a0bf61ea5419c7856be4ea2221b721b849d50fec738d10a714e7aaa809d9ad8838a01e59353aa8e567cc0661fb58b047361998df234df6593bf424839bc5ea214a2c
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionReceipt

Returns the receipt of a transaction by transaction hash.

https://api-alfajores.celoscan.io/api
   ?module=proxy
   &action=eth_getTransactionReceipt
   &txhash=0x052c3959d6d25abb1892b7d796dda57965790d1f05a073514a25f5a1b025bf20
   &apikey=YourApiKeyToken

Query Parameters

eth_call

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

https://api-alfajores.celoscan.io/api
   ?module=proxy
   &action=eth_call
   &to=0xfab2b4b677a4e104759d378ea25504862150256e
   &data=0x
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_getCode

Returns code at a given address.

https://api-alfajores.celoscan.io/api
   ?module=proxy
   &action=eth_getCode
   &address=0x75ccaf64919659bc6b26b3a29380d65491fbff0b
   &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-alfajores.celoscan.io/api
   ?module=proxy
   &action=eth_getStorageAt
   &address=0x520911f182564ba3642432963028d4d35fc79287
   &position=0x0
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_gasPrice

Returns the current price per gas in wei.

https://api-alfajores.celoscan.io/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-alfajores.celoscan.io/api
   ?module=proxy
   &action=eth_estimateGas
   &data=0x
   &to=0xe84d601e5d945031129a83e5602be0cc7f182cf3
   &value=0x1
   &gasPrice=0x51da038cc
   &gas=0x186A0
   &apikey=YourApiKeyToken

Query Parameters

Last updated