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

No parameters required.

eth_getBlockByNumber

Returns information about a block by block number.

https://api.ftmscan.com/api
   ?module=proxy
   &action=eth_getBlockByNumber
   &tag=0x1B8B83C
   &boolean=true
   &apikey=YourApiKeyToken

Query Parameters

eth_getBlockTransactionCountByNumber

Returns the number of transactions in a block.

https://api.ftmscan.com/api
   ?module=proxy
   &action=eth_getBlockTransactionCountByNumber
   &tag=0x1B8B83C
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionByHash

Returns information about a transaction requested by transaction hash.

https://api.ftmscan.com/api
   ?module=proxy
   &action=eth_getTransactionByHash
   &txhash=0x7d5b5b518c039bd2deda169f552072eb578fe6c17d2e29742c8655f9f83db705
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionByBlockNumberAndIndex

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

https://api.ftmscan.com/api
   ?module=proxy
   &action=eth_getTransactionByBlockNumberAndIndex
   &tag=0x1B8B83C
   &index=0x1
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionCount

Returns the number of transactions performed by an address.

https://api.ftmscan.com/api
   ?module=proxy
   &action=eth_getTransactionCount
   &address=0x50fb97B2Db6298C0be4C99Bf09A8bBd76cFF4109
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_sendRawTransaction

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

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

Query Parameters

eth_call

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

https://api.ftmscan.com/api
   ?module=proxy
   &action=eth_call
   &to=0xf491e7b69e4244ad4002bc14e878a34207e38c29
   &data=0x18cbafe5000000000000000000000000000000000000000000000000001616a73797cc050000000000000000000000000000000000000000000000003a9a0bc128637b7100000000000000000000000000000000000000000000000000000000000000a000000000000000000000000050fb97b2db6298c0be4c99bf09a8bbd76cff41090000000000000000000000000000000000000000000000000000000061ede04f0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c54a1684fd1bef1f077a336e6be4bd9a3096a6ca00000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83
   &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.ftmscan.com/api
   ?module=proxy
   &action=eth_getCode
   &address=0xf491e7b69e4244ad4002bc14e878a34207e38c29
   &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.ftmscan.com/api
   ?module=proxy
   &action=eth_getStorageAt
   &address=0x04068da6c83afcfa0e13ba15a6696662335d5b75
   &position=0x0
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_gasPrice

Returns the current price per gas in wei.

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

Query Parameters

Last updated