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

Try this endpoint in your browser 🔗

No parameters required.

eth_getBlockByNumber

Returns information about a block by block number.

https://api-sepolia.sophscan.xyz/api
   ?module=proxy
   &action=eth_getBlockByNumber
   &tag=0x91b
   &boolean=true
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

Parameter
Description

tag

the block number, in hex eg. 0xC36B3C

boolean

the boolean value to show full transaction objects.

when true, returns full transaction objects and their information, when false only returns a list of transactions.

eth_getUncleByBlockNumberAndIndex

Returns information about a uncle by block number.

https://api-sepolia.sophscan.xyz/api
   ?module=proxy
   &action=eth_getUncleByBlockNumberAndIndex
   &tag=0x91b
   &index=0x0
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

Parameter
Description

tag

the block number, in hex eg. 0xC36B3C

index

the position of the uncle's index in the block, in hex eg. 0x5

eth_getBlockTransactionCountByNumber

Returns the number of transactions in a block.

https://api-sepolia.sophscan.xyz/api
   ?module=proxy
   &action=eth_getBlockTransactionCountByNumber
   &tag=0x91be
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

Parameter
Description

tag

the block number, in hex eg. 0x10FB78

eth_getTransactionByHash

Returns the information about a transaction requested by transaction hash.

https://api-sepolia.sophscan.xyz/api
   ?module=proxy
   &action=eth_getTransactionByHash
   &txhash=0xf519fe3ba83e9583964e4ce542ae1196fbf157f27d5d2065dfdff1da0de5585e
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

Parameter
Description

txhash

the string representing the hash of the transaction

eth_getTransactionByBlockNumberAndIndex

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

https://api-sepolia.sophscan.xyz/api
   ?module=proxy
   &action=eth_getTransactionByBlockNumberAndIndex
   &tag=0xb7be
   &index=0x0
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

Parameter
Description

tag

the block number, in hex eg. 0x10FB78

index

the position of the uncle's index in the block, in hex eg. 0x0

eth_getTransactionCount

Returns the number of transactions performed by an address.

https://api-sepolia.sophscan.xyz/api
   ?module=proxy
   &action=eth_getTransactionCount
   &address=0xe85b66fca403bc35bcae17ce7758e942aea65dc0
   &tag=latest
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

Parameter
Description

address

the string representing the address to get transaction count

tag

the string pre-defined block parameter, either earliest, pending or latest

eth_sendRawTransaction

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

https://api-sepolia.sophscan.xyz/api
   ?module=proxy
   &action=eth_sendRawTransaction
   &hex=0x02f874030185012a05f200852e90edd00082520894eeee7341f206302f2216e39d715b96d8c6901a1c880de0b6b3a764000080c001a0bf61ea5419c7856be4ea2221b721b849d50fec738d10a714e7aaa809d9ad8838a01e59353aa8e567cc0661fb58b047361998df234df6593bf424839bc5ea214a2c
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

Parameter
Description

hex

the string representing the signed raw transaction data to broadcast.

💡 Tip: Send a POST request if your hex string is particularly long.

🖋️ For more information on creating a signed raw transaction, visit this page.

eth_getTransactionReceipt

Returns the receipt of a transaction by transaction hash.

https://api-sepolia.sophscan.xyz/api
   ?module=proxy
   &action=eth_getTransactionReceipt
   &txhash=0xf519fe3ba83e9583964e4ce542ae1196fbf157f27d5d2065dfdff1da0de5585e
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

Parameter
Description

txhash

the string representing the hash of the transaction

eth_call

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

https://api-sepolia.sophscan.xyz/api
   ?module=proxy
   &action=eth_call
   &to=0x272c31fc25e4e609cbcc9e7a9e6171b4b39feaca
   &data=0x60fe47b10000000000000000000000000000000000000000000000000000000000010f2c
   &tag=latest
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

Parameter
Description

to

the string representing the address to interact with

data

the hash of the method signature and encoded parameters

tag

the string pre-defined block parameter, either earliest, pending or latest

Note: The gas parameter is capped at 2x the current block gas limit.

eth_getCode

Returns code at a given address.

https://api-sepolia.sophscan.xyz/api
   ?module=proxy
   &action=eth_getCode
   &address=0x000000000000000000000000000000000000800A
   &tag=latest
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

Parameter
Description

address

the string representing the address to get code

tag

the string pre-defined block parameter, either earliest, pending or latest

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-sepolia.sophscan.xyz/api
   ?module=proxy
   &action=eth_getStorageAt
   &address=0x000000000000000000000000000000000000800A
   &position=0x0
   &tag=latest
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

Parameter
Description

address

the string representing the address to get code

position

the hex code of the position in storage, eg 0x0

tag

the string pre-defined block parameter, either earliest, pending or latest

eth_gasPrice

Returns the current price per gas in wei.

https://api-sepolia.sophscan.xyz/api
   ?module=proxy
   &action=eth_gasPrice
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

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-sepolia.sophscan.xyz/api
   ?module=proxy
   &action=eth_estimateGas
   &data=0x60fe47b10000000000000000000000000000000000000000000000000000000000000004
   &to=0x272c31fC25E4e609CbCC9E7a9e6171b4B39feAca
   &value=0x0
   &gasPrice=0x51da038cc
   &gas=0x186A0
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

Parameter
Description

data

the hash of the method signature and encoded parameters

to

the string representing the address to interact with

value

the value sent in this transaction, in hex eg. 0xff22

gas

the amount of gas provided for the transaction, in hex eg. 0x5f5e0ff

gasPrice

the gas price paid for each unit of gas, in wei

post EIP-1559, the gasPrice has to be higher than the block's baseFeePerGas

Note: The gas parameter is capped at 2x the current block gas limit.

Last updated