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-testnet.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-testnet.ftmscan.com/api
   ?module=proxy
   &action=eth_getBlockByNumber
   &tag=0x6abca2
   &boolean=true
   &apikey=YourApiKeyToken

Query Parameters

eth_getBlockTransactionCountByNumber

Returns the number of transactions in a block.

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

Query Parameters

eth_getTransactionByHash

Returns information about a transaction requested by transaction hash.

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

Query Parameters

eth_getTransactionByBlockNumberAndIndex

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

https://api-testnet.ftmscan.com/api
   ?module=proxy
   &action=eth_getTransactionByBlockNumberAndIndex
   &tag=0x6abca2
   &index=0x0
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionCount

Returns the number of transactions performed by an address.

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

Query Parameters

eth_sendRawTransaction

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

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

Query Parameters

eth_call

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

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

Query Parameters

eth_gasPrice

Returns the current price per gas in wei.

https://api-testnet.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-testnet.ftmscan.com/api
   ?module=proxy
   &action=eth_estimateGas
   &data=0x430468440000000000000000000000000000000000000000000000000000000000000001
   &to=0x152c5792e0446d5860ed5bbccbad239ab3e59463
   &value=0xff22
   &gasPrice=0x2e919bc340
   &gas=0xEA4E8
   &apikey=YourApiKeyToken

Query Parameters

Last updated