Geth/Parity Proxy

For the full documentation of available parameters and descriptions, please visit the official Moonbeam 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-moonbeam.moonscan.io/api
   ?module=proxy
   &action=eth_blockNumber
   &apikey=YourApiKeyToken

No parameters required.

eth_getBlockByNumber

Returns information about a block by block number.

https://api-moonbeam.moonscan.io/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-moonbeam.moonscan.io/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-moonbeam.moonscan.io/api
   ?module=proxy
   &action=eth_getTransactionByHash
   &txhash=0x9436a4c513f9a023779848c90f8f2069372252c17b7d96471ce9af3665bb20eb
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionByBlockNumberAndIndex

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

https://api-moonbeam.moonscan.io/api
   ?module=proxy
   &action=eth_getTransactionByBlockNumberAndIndex
   &tag=38DEBA
   &index=0
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionCount

Returns the number of transactions performed by an address.

https://api-moonbeam.moonscan.io/api
   ?module=proxy
   &action=eth_getTransactionCount
   &address=0x91cb290c35322abe833c878e96dfd441271747cf
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_sendRawTransaction

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

https://api-moonbeam.moonscan.io/api
   ?module=proxy
   &action=eth_sendRawTransaction
   &hex=0xf904808000831cfde080
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionReceipt

Returns the receipt of a transaction by transaction hash.

https://api-moonbeam.moonscan.io/api
   ?module=proxy
   &action=eth_getTransactionReceipt
   &txhash=0x9436a4c513f9a023779848c90f8f2069372252c17b7d96471ce9af3665bb20eb
   &apikey=YourApiKeyToken

Query Parameters

eth_call

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

https://api-moonbeam.moonscan.io/api
   ?module=proxy
   &action=eth_call
   &to=0xbe19479be9ec4f78d3da0e92ef640c8d6354f7b1
   &data=0x000000000000000000000000000000000000000000000001a055690d9db80000
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_getCode

Returns code at a given address.

https://api-moonbeam.moonscan.io/api
   ?module=proxy
   &action=eth_getCode
   &address=0xacc15dc74880c9944775448304b263d191c6077f
   &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-moonbeam.moonscan.io/api
   ?module=proxy
   &action=eth_getStorageAt
   &address=0xacc15dc74880c9944775448304b263d191c6077f
   &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-moonbeam.moonscan.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-moonbeam.moonscan.io/api
   ?module=proxy
   &action=eth_estimateGas
   &data=0x4e71d92d
   &to=0xacc15dc74880c9944775448304b263d191c6077f
   &value=0xff22
   &gasPrice=0x51da038cc
   &gas=0x5f5e0ff
   &apikey=YourApiKeyToken

Query Parameters

Last updated