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.uniscan.xyz/api
?module=proxy
&action=eth_blockNumber
&apikey=YourApiKeyToken
Try this endpoint in your browser
Sample response
{
"jsonrpc":"2.0",
"result":"0x10a79f",
"id":83
}
eth_getBlockByNumber
Returns information about a block by block number.
https://api-sepolia.uniscan.xyz/api
?module=proxy
&action=eth_getBlockByNumber
&tag=0x91b7
&boolean=true
&apikey=YourApiKeyToken
Sample response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"baseFeePerGas": "0xfc",
"blobGasUsed": "0x0",
"difficulty": "0x0",
"excessBlobGas": "0x0",
"extraData": "0x",
"gasLimit": "0x1c9c380",
"gasUsed": "0xab8a",
"hash": "0xb4aef70d8478e6a780c109028e33df81368a6239f8d4f1e04e5dfd3c4b28d1c6",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"miner": "0x4200000000000000000000000000000000000011",
"mixHash": "0xcd67fd39233ceb5bab27e251e6615f511fdc402f61aa8ff81688bcf29187df15",
"nonce": "0x0000000000000000",
"number": "0x91b7",
"parentBeaconBlockRoot": "0x3e9b21a6e9a32d9e291aa146022e6446fba0b7bbbd6b72d27bd202b30b37b5a1",
"parentHash": "0x48b045b9258db6615c1ce3fd3c5169580784782024681b3715989991a62b5b94",
"receiptsRoot": "0x7ec4f5e3a3a79691e75e8c009d22cafe8d91afa4ea34d85bebaa66bdcde96607",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"size": "0x346",
"stateRoot": "0x9df3e8f565007756c041a75d7f2a88093ccf9667377ebcecd93a00e446741378",
"timestamp": "0x66ee3f03",
"totalDifficulty": "0x0",
"transactions": [
{
"blockHash": "0xb4aef70d8478e6a780c109028e33df81368a6239f8d4f1e04e5dfd3c4b28d1c6",
"blockNumber": "0x91b7",
"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
"gas": "0xf4240",
"gasPrice": "0x0",
"hash": "0x06d76cc02e78171556f10fe5354540851305a077d6c6dea5297914107389a327",
"input": "0x440a5e20000007d0000dbba000000000000000110000000066ee3eb4000000000066b4b900000000000000000000000000000000000000000000000000000002d237c92000000000000000000000000000000000000000000000000000000000000131bd3174ecb38ec7a817434f7e3efbc39b57fed0bf6f28e890c4de29ced8377bfcf70000000000000000000000004ab3387810ef500bfe05a49dc53a44c222cbab3e",
"nonce": "0x91b6",
"to": "0x4200000000000000000000000000000000000015",
"transactionIndex": "0x0",
"value": "0x0",
"type": "0x7e",
"v": "0x0",
"r": "0x0",
"s": "0x0",
"sourceHash": "0xb7ef6322739d820dd1ec411677d92d418ec1a56b30795fea944652ea0f3d2758",
"mint": "0x0",
"depositReceiptVersion": "0x1"
}
],
"transactionsRoot": "0x1eb1d1458708a3b6227fc1b232d08a3cc72ed4807c4622ec88331d24900c488a",
"uncles": [],
"withdrawals": [],
"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
}
}
eth_getBlockTransactionCountByNumber
Returns the number of transactions in a block.
https://api-sepolia.uniscan.xyz/api
?module=proxy
&action=eth_getBlockTransactionCountByNumber
&tag=0x10A70A
&apikey=YourApiKeyToken
Sample response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x1"
}
eth_getTransactionByHash
Returns the information about a transaction requested by transaction hash.
https://api-sepolia.uniscan.xyz/api
?module=proxy
&action=eth_getTransactionByHash
&txhash=0x948655a4e08741f3e50746b28f917ca29a02e25ae643d46c3f81b31a6a6af8ab
&apikey=YourApiKeyToken
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0x53448e72c5025df3d1dcf43d3374285b5c36c5373fe496a45b389d37c273acbb",
"blockNumber": "0x12d005",
"from": "0xbb7c7ec5f82ab47e333c725b1f247a4d063ecad1",
"gas": "0x30d40",
"gasPrice": "0xf433c",
"maxFeePerGas": "0x746a528800",
"maxPriorityFeePerGas": "0xf4240",
"hash": "0x948655a4e08741f3e50746b28f917ca29a02e25ae643d46c3f81b31a6a6af8ab",
"input": "0x40c10f19000000000000000000000000a796166245df66b489df2868a2f43848bbb1f52400000000000000000000000000000000000000000000000000000000538539c0",
"nonce": "0x3",
"to": "0x31d0220469e10c4e71834a79b1f276d740d3768f",
"transactionIndex": "0x1",
"value": "0x0",
"type": "0x2",
"accessList": [],
"chainId": "0x515",
"v": "0x0",
"r": "0xc9e99a37b0fb85f709ec71b7db0382f3197022431ae9acb32605edf33a77a1b7",
"s": "0x52407a4a0d65f5ecdaedad8d9be888c9323e39847149d6168dd6039282506ba9",
"yParity": "0x0"
}
}
eth_getTransactionByBlockNumberAndIndex
Returns information about a transaction by block number and transaction index position.
https://api-sepolia.uniscan.xyz/api
?module=proxy
&action=eth_getTransactionByBlockNumberAndIndex
&tag=0x10A70A
&index=0x0
&apikey=YourApiKeyToken
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0xa662ac96a07d78e1eff4685302b94dfa3552b88f202ab125a2f29f0b0811f668",
"blockNumber": "0x10a70a",
"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
"gas": "0xf4240",
"gasPrice": "0x0",
"hash": "0x46634d50a84899725c92ea7b81de02801fe43b8c9a45666cf0769fe9ed698415",
"input": "0x440a5e20000007d0000dbba000000000000000080000000066fe5410000000000067d9050000000000000000000000000000000000000000000000000000003678724d770000000000000000000000000000000000000000000000000000000000000001a097a7c8b9db9a883a2b5aeae3a10255b6303a9053d8e928c70e1d311c7e3dbe0000000000000000000000004ab3387810ef500bfe05a49dc53a44c222cbab3e",
"nonce": "0x10a709",
"to": "0x4200000000000000000000000000000000000015",
"transactionIndex": "0x0",
"value": "0x0",
"type": "0x7e",
"v": "0x0",
"r": "0x0",
"s": "0x0",
"sourceHash": "0x31745f189d7481c4fea3ff62ee6500e5f491d028eaec113d293e5b7b1b6b5923",
"mint": "0x0",
"depositReceiptVersion": "0x1"
}
}
eth_getTransactionCount
Returns the number of transactions performed by an address.
https://api-sepolia.uniscan.xyz/api
?module=proxy
&action=eth_getTransactionCount
&address=0x31d0220469e10c4E71834a79b1f276d740d3768F
&tag=latest
&apikey=YourApiKeyToken
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x1"
}
eth_sendRawTransaction
Submits a pre-signed transaction for broadcast to the Ethereum network.
https://api-sepolia.uniscan.xyz/api
?module=proxy
&action=eth_sendRawTransaction
&hex=0x02f874030185012a05f200852e90edd00082520894eeee7341f206302f2216e39d715b96d8c6901a1c880de0b6b3a764000080c001a0bf61ea5419c7856be4ea2221b721b849d50fec738d10a714e7aaa809d9ad8838a01e59353aa8e567cc0661fb58b047361998df234df6593bf424839bc5ea214a2c
&apikey=YourApiKeyToken
Sample Response
{
"id":1,
"jsonrpc": "2.0",
"result": "0x84c81fc1e23474e13be0114f94f99b43696830f33292fd1d642f37e87e95acd6"
}
Use eth_getTransactionReceipt to retrieve full details.
eth_getTransactionReceipt
Returns the receipt of a transaction by transaction hash.
https://api-sepolia.uniscan.xyz/api
?module=proxy
&action=eth_getTransactionReceipt
&txhash=0x948655a4e08741f3e50746b28f917ca29a02e25ae643d46c3f81b31a6a6af8ab
&apikey=YourApiKeyToken
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0x53448e72c5025df3d1dcf43d3374285b5c36c5373fe496a45b389d37c273acbb",
"blockNumber": "0x12d005",
"contractAddress": null,
"cumulativeGasUsed": "0x18441",
"effectiveGasPrice": "0xf433c",
"from": "0xbb7c7ec5f82ab47e333c725b1f247a4d063ecad1",
"gasUsed": "0xd8db",
"l1BaseFeeScalar": "0x7d0",
"l1BlobBaseFee": "0x1",
"l1BlobBaseFeeScalar": "0xdbba0",
"l1Fee": "0x8cc302c770",
"l1GasPrice": "0x2bfcf0de37",
"l1GasUsed": "0x640",
"logs": [
{
"address": "0x31d0220469e10c4e71834a79b1f276d740d3768f",
"topics": [
"0xab8530f87dc9b59234c4623bf917212bb2536d647574c8e7e5da92c2ede0c9f8",
"0x000000000000000000000000bb7c7ec5f82ab47e333c725b1f247a4d063ecad1",
"0x000000000000000000000000a796166245df66b489df2868a2f43848bbb1f524"
],
"data": "0x00000000000000000000000000000000000000000000000000000000538539c0",
"blockNumber": "0x12d005",
"transactionHash": "0x948655a4e08741f3e50746b28f917ca29a02e25ae643d46c3f81b31a6a6af8ab",
"transactionIndex": "0x1",
"blockHash": "0x53448e72c5025df3d1dcf43d3374285b5c36c5373fe496a45b389d37c273acbb",
"logIndex": "0x0",
"removed": false
},
{
"address": "0x31d0220469e10c4e71834a79b1f276d740d3768f",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x000000000000000000000000a796166245df66b489df2868a2f43848bbb1f524"
],
"data": "0x00000000000000000000000000000000000000000000000000000000538539c0",
"blockNumber": "0x12d005",
"transactionHash": "0x948655a4e08741f3e50746b28f917ca29a02e25ae643d46c3f81b31a6a6af8ab",
"transactionIndex": "0x1",
"blockHash": "0x53448e72c5025df3d1dcf43d3374285b5c36c5373fe496a45b389d37c273acbb",
"logIndex": "0x1",
"removed": false
}
],
"logsBloom": "0x00000000000000000000010000000000000000000000000000000100000000000000000000000000000000010000000000000000000000000000000000000000000000000000000080000008000000000000000000001000000000000000000000020000020000000000000000000800000000000000040000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000001000080000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000020000000000000040000000000000000000000000000000800000000000000000000",
"status": "0x1",
"to": "0x31d0220469e10c4e71834a79b1f276d740d3768f",
"transactionHash": "0x948655a4e08741f3e50746b28f917ca29a02e25ae643d46c3f81b31a6a6af8ab",
"transactionIndex": "0x1",
"type": "0x2"
}
}
eth_call
Executes a new message call immediately without creating a transaction on the block chain.
https://api-sepolia.uniscan.xyz/api
?module=proxy
&action=eth_call
&to=0x31d0220469e10c4E71834a79b1f276d740d3768F
&data=0x60fe47b10000000000000000000000000000000000000000000000000000000000010f2c
&tag=latest
&apikey=YourApiKeyToken
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x"
}
eth_getCode
Returns code at a given address.
https://api-sepolia.uniscan.xyz/api
?module=proxy
&action=eth_getCode
&address=0x31d0220469e10c4E71834a79b1f276d740d3768F
&tag=latest
&apikey=YourApiKeyToken
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x60806040526004361061005a5760003560e01c80635c60da1b116100435780635c60da1b146101315780638f2839701461016f578063f851a440146101af5761005a565b80633659cfe6146100645780634f1ef286146100a4575b6100626101c4565b005b34801561007057600080fd5b506100626004803603602081101561008757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166101de565b610062600480360360408110156100ba57600080fd5b73ffffffffffffffffffffffffffffffffffffffff82351691908101906040810160208201356401000000008111156100f257600080fd5b82018360208201111561010457600080fd5b8035906020019184600183028401116401000000008311171561012657600080fd5b509092509050610232565b34801561013d57600080fd5b50610146610309565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561017b57600080fd5b506100626004803603602081101561019257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610318565b3480156101bb57600080fd5b50610146610420565b6101cc610430565b6101dc6101d76104c4565b6104e9565b565b6101e661050d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102275761022281610532565b61022f565b61022f6101c4565b50565b61023a61050d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102fc5761027683610532565b60003073ffffffffffffffffffffffffffffffffffffffff16348484604051808383808284376040519201945060009350909150508083038185875af1925050503d80600081146102e3576040519150601f19603f3d011682016040523d82523d6000602084013e6102e8565b606091505b50509050806102f657600080fd5b50610304565b6103046101c4565b505050565b60006103136104c4565b905090565b61032061050d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102275773ffffffffffffffffffffffffffffffffffffffff81166103bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806106606036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103e861050d565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301528051918290030190a161022281610587565b600061031361050d565b3b151590565b61043861050d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156104bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603281526020018061062e6032913960400191505060405180910390fd5b6101dc6101dc565b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c35490565b3660008037600080366000845af43d6000803e808015610508573d6000f35b3d6000fd5b7f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b5490565b61053b816105ab565b6040805173ffffffffffffffffffffffffffffffffffffffff8316815290517fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b9181900360200190a150565b7f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b55565b6105b48161042a565b610609576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180610696603b913960400191505060405180910390fd5b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c35556fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220b61f5484dc2ea6b3f76727d055ed237b57cc5194c047ccbe67e298c525383daa64736f6c634300060c0033"
}
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.uniscan.xyz/api
?module=proxy
&action=eth_getStorageAt
&address=0x31d0220469e10c4E71834a79b1f276d740d3768F
&position=0x0
&tag=latest
&apikey=YourApiKeyToken
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x00000000000000000000000079018c4ba61ddb94607c004c9206ee226b38e7df"
}
eth_gasPrice
Returns the current price per gas in wei.
https://api-sepolia.uniscan.xyz/api
?module=proxy
&action=eth_gasPrice
&apikey=YourApiKeyToken
Sample Response
{
"jsonrpc": "2.0",
"id": 73,
"result": "0xf433c"
}
eth_estimateGas
Makes a call or transaction, which won't be added to the blockchain and returns the used gas.
https://api-sepolia.uniscan.xyz/api
?module=proxy
&action=eth_estimateGas
&data=0x60fe47b10000000000000000000000000000000000000000000000000000000000000004
&to=0x272c31fC25E4e609CbCC9E7a9e6171b4B39feAca
&value=0x0
&gasPrice=0x51da038cc
&gas=0x186A0
&apikey=YourApiKeyToken
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32000,
"message": "gas required exceeds allowance (0)"
}
}