Geth 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-testnet.snowscan.xyz/api
   ?module=proxy
   &action=eth_blockNumber
   &apikey=YourApiKeyToken

No parameters required.

eth_getBlockByNumber

Returns information about a block by block number.

https://api-testnet.snowscan.xyz/api
   ?module=proxy
   &action=eth_getBlockByNumber
   &tag=0x80beeb
   &boolean=true
   &apikey=YourApiKeyToken

Query Parameters

eth_getBlockTransactionCountByNumber

Returns the number of transactions in a block.

https://api-testnet.snowscan.xyz/api
   ?module=proxy
   &action=eth_getBlockTransactionCountByNumber
   &tag=0x80beeb
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionByHash

Returns the information about a transaction requested by transaction hash.

https://api-testnet.snowscan.xyz/api
   ?module=proxy
   &action=eth_getTransactionByHash
   &txhash=0x2b622a001e47aaead03801857116737a8e788aa2a38ca8bef7b799314849d7cd
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionByBlockNumberAndIndex

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

https://api-testnet.snowscan.xyz/api
   ?module=proxy
   &action=eth_getTransactionByBlockNumberAndIndex
   &tag=0x80beeb
   &index=0x0
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionCount

Returns the number of transactions performed by an address.

https://api-testnet.snowscan.xyz/api
   ?module=proxy
   &action=eth_getTransactionCount
   &address=0x15dff6d27e56e5e63991ba4f42f3d0fc3ecf1994
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_sendRawTransaction

Submits a pre-signed transaction for broadcast to the Avalanche C-Chain network.

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

Query Parameters

eth_call

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

https://api-testnet.snowscan.xyz/api
   ?module=proxy
   &action=eth_call
   &to=0x0f2a5d18ad37395266c0b59e3dfcfe790a0ee8e1
   &data=0x313ce5670000000000000000000000000000000000000000000000000000000000000000
   &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.snowscan.xyz/api
   ?module=proxy
   &action=eth_getCode
   &address=0xebbc3452cc911591e4f18f3b36727df45d6bd1f9
   &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.snowscan.xyz/api
   ?module=proxy
   &action=eth_getStorageAt
   &address=0x2B579a734436045F1ea233AC11CE3259Da9b4445
   &position=0x0
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_gasPrice

Returns the current price per gas in wei.

https://api-testnet.snowscan.xyz/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-testnet.snowscan.xyz/api
   ?module=proxy
   &action=eth_estimateGas
   &data=0x
   &to=0x2b579a734436045f1ea233ac11ce3259da9b4445
   &value=0x1
   &gasPrice=0x5D21DBA00
   &gas=0x186A0
   &apikey=YourApiKeyToken

Query Parameters

Last updated