EVM methods
eth_accounts
Returns array of all accounts owned by the client.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc": "2.0", "method": "eth_accounts", "id": 1, "params": []}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": []
}
eth_chainId
Returns the currently configured chain ID, a value used in replay-protected transaction signing as introduced by EIP-155.
Method: POST
https://core.nownodes.io/
Example body (raw)
{ "id": 1,"jsonrpc": "2.0","method": "eth_chainId" }
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x45c"
}
eth_blockNumber
Returns the number of most recent block.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc": "2.0", "method": "eth_blockNumber", "id": 1, "params": []}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1724566"
}
eth_call
Executes a new message call immediately without creating a transaction on the block chain.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc":"2.0","method":"eth_call","params":[{ "to": "0x7f461f8a1c35eDEcD6816e76Eb2E84eb661751eE" }, "latest"],"id":1}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x"
}
eth_estimateGas
Generates and returns an estimate of how much gas is necessary to allow the transaction to complete. The transaction will not be added to the blockchain. Note that the estimate may be significantly more than the amount of gas actually used by the transaction, for a variety of reasons including EVM mechanics and node performance.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc":"2.0","method":"eth_estimateGas","params":[{ "to": "0x7f461f8a1c35eDEcD6816e76Eb2E84eb661751eE" }, "latest"],"id":1}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x5208"
}
eth_gasPrice
Returns the current gas price in the default EVM denomination parameter.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc": "2.0", "method": "eth_gasPrice", "id": 1, "params": []}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x3b9aca00"
}
eth_getBalance
Returns the balance of the account of given address.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc":"2.0","method":"eth_getBalance","params":["0x7f461f8a1c35eDEcD6816e76Eb2E84eb661751eE", "latest"],"id":1}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1d304519145a9000"
}
eth_getBlockByHash
Returns information about a block by hash.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc":"2.0","method":"eth_getBlockByHash","params":["0xc3ffd4ab126f73fc9288d2c03db42d695045b77a778271240ecfc272cf946d6a", false],"id":1}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"baseFeePerGas": "0x0",
"difficulty": "0x2",
"extraData": "0xd98301000f846765746889676f312e32312e3133856c696e757800006f5c6f4252c198935b515bbee2d8874bfcd66d34ed2cc7c537f7abad8b3266828ac4788729b1bcf3793b2ccde6e07c3199d990271f7729aa8f55a83ac778888ddf19941e00",
"gasLimit": "0x2faf080",
"gasUsed": "0x80943",
"hash": "0xc3ffd4ab126f73fc9288d2c03db42d695045b77a778271240ecfc272cf946d6a",
"logsBloom": "0x00400000008000800080000000000000000000000080081080080000000810000000000040000000000000000000000000000000000000000000000040000000000000000000000000000000000000002010004000010002000000100000000000000020002200000000050000400000000000000000000000000000000000000000000008000200000000104004000000000400000000000000004001000000004000130000200000040000000002000001000000800000000000000000000000000000004000000000000000000000000000000000000000000000008000000200000000000000010000000000000001000000100000000000000000000000",
"miner": "0x3fb42cab4416024dc1b4c9e21b9acd0dfcef35f6",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x0000000000000000",
"number": "0x1724e15",
"parentHash": "0xb644f981e0eb6d1a1f81496a671b937fb605934055d93c5b136974446c2acf8b",
"receiptsRoot": "0xfd0b5f6edd524ed324e4eab39606b06abfbb9449ff940594b9b9a47cdc0601d2",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"size": "0x8f8",
"stateRoot": "0xc402a0669a5c3cf39fd5a7b6b4de51391e5d495f47fcf6569899bc3b83e43365",
"timestamp": "0x68138406",
"totalDifficulty": "0x2e3b8c3",
"transactions": [
"0x0777a326b0ad7a72137a7df8c96e4fe865dd1e22aca9eeb37e17d9fe8b3109f2",
"0x3da4d0ab0e669750f09234dd270ff64462d457da560a7e4de3f159e9e4cda468",
"0x701d8afd9f98d8c9af41b7ca61e2980570dd22fae650de27b83ae67e51f2c0b7",
"0xe13feae3259606a4854378f9759ee6bf55bb94092984588c4d4abba229736e7f",
"0xe463ea9b1d55a920dd72dc1764ca007ea0d81d22695175f03a8df5b3b4727159",
"0x9d93b65ecc04ca5cc9be9cc44da31544214a36bf54eb35800a789d765a07e99d",
"0x2e4511e643d85e7625c2ab4e199e9a2772b15bd469a2f88c6162d2ad1ef5aaf3",
"0x8d1829b4e5df4f58d0931643b919fe3fb6ffc7eb2be66fabf3938e428b6da8e4",
"0x504af7b95a0341101746689e8972700a83e638d2c3ba39edd621efa0ee66ae61",
"0x407f21e457c78f7d4cf2eeb92dd85a1cb1aa2ec94b197dd2fb05b932e7f8468d",
"0x3742a62af3bd6aa483b87adade0ded80d2c550f0657f1d109250daa5ca5365e9",
"0xad148eac441fb33926b63589e87b941c1e8b3442152da6a9eb8f61d901386ef6"
],
"transactionsRoot": "0xae35eb974d6b669cf51d8964d8b89afdc1379842a33937842bd2b65b2bc03782",
"uncles": []
}
}5
eth_getBlockByNumber
Returns information about a block by block number.
Method: POST
https://core.nownodes.io/
Example body (raw)
{
"jsonrpc": "2.0",
"method": "eth_getBlockByNumber",
"params": [
"0x1724E15",
true
],
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"baseFeePerGas": "0x0",
"difficulty": "0x2",
"extraData": "0xd98301000f846765746889676f312e32312e3133856c696e757800006f5c6f4252c198935b515bbee2d8874bfcd66d34ed2cc7c537f7abad8b3266828ac4788729b1bcf3793b2ccde6e07c3199d990271f7729aa8f55a83ac778888ddf19941e00",
"gasLimit": "0x2faf080",
"gasUsed": "0x80943",
"hash": "0xc3ffd4ab126f73fc9288d2c03db42d695045b77a778271240ecfc272cf946d6a",
"logsBloom": "0x00400000008000800080000000000000000000000080081080080000000810000000000040000000000000000000000000000000000000000000000040000000000000000000000000000000000000002010004000010002000000100000000000000020002200000000050000400000000000000000000000000000000000000000000008000200000000104004000000000400000000000000004001000000004000130000200000040000000002000001000000800000000000000000000000000000004000000000000000000000000000000000000000000000008000000200000000000000010000000000000001000000100000000000000000000000",
"miner": "0x3fb42cab4416024dc1b4c9e21b9acd0dfcef35f6",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x0000000000000000",
"number": "0x1724e15",
"parentHash": "0xb644f981e0eb6d1a1f81496a671b937fb605934055d93c5b136974446c2acf8b",
"receiptsRoot": "0xfd0b5f6edd524ed324e4eab39606b06abfbb9449ff940594b9b9a47cdc0601d2",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"size": "0x8f8",
"stateRoot": "0xc402a0669a5c3cf39fd5a7b6b4de51391e5d495f47fcf6569899bc3b83e43365",
"timestamp": "0x68138406",
"totalDifficulty": "0x2e3b8c3",
"transactions": [
{
"blockHash": "0xc3ffd4ab126f73fc9288d2c03db42d695045b77a778271240ecfc272cf946d6a",
"blockNumber": "0x1724e15",
"from": "0xbf8798a2803f4c5348f97cef27d8fe88e8e2d2d2",
"gas": "0x5208",
"gasPrice": "0x6fc23ac00",
"hash": "0x0777a326b0ad7a72137a7df8c96e4fe865dd1e22aca9eeb37e17d9fe8b3109f2",
"input": "0x",
"nonce": "0x76431",
"to": "0x8c5919d1ab4d8acc84b0e979bc92a31292d526ce",
"transactionIndex": "0x0",
"value": "0x38d7ea4c68000",
"type": "0x0",
"chainId": "0x45c",
"v": "0x8dc",
"r": "0x9a4f56e4b09ca77ee412673f1be986e20b2bfbef1b023b4903e28d92aa9595ac",
"s": "0x5917001c001ae086c72bac7de300b9ab8f6c96fa68f5903a371e25f1849e5b18"
},
{
"blockHash": "0xc3ffd4ab126f73fc9288d2c03db42d695045b77a778271240ecfc272cf946d6a",
"blockNumber": "0x1724e15",
"from": "0xe86d30e7256ee84c21420bb7a0922c4d61f86653",
"gas": "0x126fe",
"gasPrice": "0x6fc23ac00",
"hash": "0x3da4d0ab0e669750f09234dd270ff64462d457da560a7e4de3f159e9e4cda468",
"input": "0xc8055e83",
"nonce": "0x0",
"to": "0x7dc712a5792cb5f3b7c9de624f268e6bccfc7b1f",
"transactionIndex": "0x1",
"value": "0x0",
"type": "0x0",
"chainId": "0x45c",
"v": "0x8db",
"r": "0x98a09426d26a58a6861716c8f8cc5c1b0694d6ed49ec629cecfc594fa457b3fd",
"s": "0x772df4ab6c5bc71c887a102fd586751ff11da8118814551c87fe5869b0bdc8fd"
},
{
"blockHash": "0xc3ffd4ab126f73fc9288d2c03db42d695045b77a778271240ecfc272cf946d6a",
"blockNumber": "0x1724e15",
"from": "0x6e7949bf566e47e5af60e4115af4cb286b1caa8e",
"gas": "0x706f",
"gasPrice": "0x6fc23ac00",
"hash": "0x701d8afd9f98d8c9af41b7ca61e2980570dd22fae650de27b83ae67e51f2c0b7",
"input": "0x5b7d7482000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000004230785a444d774d575531595451795a575577596a41334d544e685a5749784d5759324d6a566d596a64684e5459304d3245334d47457a4d6a6b304d3251774f444d77000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004230785a444d774d575531595451795a575577596a41334d544e685a5749784d5759324d6a566d596a64684e5459304d3245334d47457a4d6a6b304d3251774f444d77000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x0",
"to": "0x64812f1212f6276068a0726f4695a6637da3e4f8",
"transactionIndex": "0x2",
"value": "0x0",
"type": "0x0",
"chainId": "0x45c",
"v": "0x8db",
"r": "0xb1393b09347e0b879b86fdacd5b5ecb0492f0d9e4b2fff6f50b729d55877fa66",
"s": "0x36ab5fa59841769ba0ee68b1a40ea1f955f05e7727a270e7fbbe7ffa95823435"
},
{
"blockHash": "0xc3ffd4ab126f73fc9288d2c03db42d695045b77a778271240ecfc272cf946d6a",
"blockNumber": "0x1724e15",
"from": "0x07e3405de99a3c3553015d83cebf31a95acdec48",
"gas": "0x9eb2",
"gasPrice": "0x6fc23ac00",
"hash": "0xe13feae3259606a4854378f9759ee6bf55bb94092984588c4d4abba229736e7f",
"input": "0x6f49a3c0",
"nonce": "0x2",
"to": "0x5c3581fdb05e3a20fb109864dae75a5665a7f92d",
"transactionIndex": "0x3",
"value": "0x0",
"type": "0x0",
"chainId": "0x45c",
"v": "0x8dc",
"r": "0x7ba026b6cc47d79e6d17d3fc92549d21fa4d87e2ae1e20b6ee3d31f255df20b6",
"s": "0x409b62edeb513cb04962fcbec97058c996bdd043c8d7c65f2d9ef788d47120a0"
},
{
"blockHash": "0xc3ffd4ab126f73fc9288d2c03db42d695045b77a778271240ecfc272cf946d6a",
"blockNumber": "0x1724e15",
"from": "0x171d2dcd89d318f8ce116659bab6b740fb16adff",
"gas": "0x126fe",
"gasPrice": "0x6fc23ac00",
"hash": "0xe463ea9b1d55a920dd72dc1764ca007ea0d81d22695175f03a8df5b3b4727159",
"input": "0xc8055e83",
"nonce": "0x0",
"to": "0x645d0aedd45da9743d3396ddffbe13c94f325edb",
"transactionIndex": "0x4",
"value": "0x0",
"type": "0x0",
"chainId": "0x45c",
"v": "0x8dc",
"r": "0x5c004d5b5a96627529bfb2cea4a4d6da59c1e76ec8f5f7fc9d9c629a1590ba87",
"s": "0x1377705488feef83a8d213a0bb58d48aead1eafbd64f093d03d4fdd02e42f98"
},
{
"blockHash": "0xc3ffd4ab126f73fc9288d2c03db42d695045b77a778271240ecfc272cf946d6a",
"blockNumber": "0x1724e15",
"from": "0x15ed5f22238d209f36d866dac4d7bd42c253047e",
"gas": "0x59d8",
"gasPrice": "0x6fc23ac00",
"hash": "0x9d93b65ecc04ca5cc9be9cc44da31544214a36bf54eb35800a789d765a07e99d",
"input": "0x",
"nonce": "0xb23c8",
"to": "0x00e0dc1c064fd5c53953240a7543d2469fadc9a7",
"transactionIndex": "0x5",
"value": "0xaa87bee538000",
"type": "0x0",
"chainId": "0x45c",
"v": "0x8dc",
"r": "0xd41c3b1dd4f419074544c617e9a9dc31616482546a1797db54c03a7ef4ac7a56",
"s": "0x6dd6620609e4713e7cf570e0aa98af6b614ca09f6ace59eccd46883e22fa24b0"
},
{
"blockHash": "0xc3ffd4ab126f73fc9288d2c03db42d695045b77a778271240ecfc272cf946d6a",
"blockNumber": "0x1724e15",
"from": "0xeac7a8891b57324e5bb1147381aa9a4a7ebaeb8c",
"gas": "0x9eb2",
"gasPrice": "0x6fc23ac00",
"hash": "0x2e4511e643d85e7625c2ab4e199e9a2772b15bd469a2f88c6162d2ad1ef5aaf3",
"input": "0x6f49a3c0",
"nonce": "0xf9",
"to": "0x5c3581fdb05e3a20fb109864dae75a5665a7f92d",
"transactionIndex": "0x6",
"value": "0x0",
"type": "0x0",
"chainId": "0x45c",
"v": "0x8db",
"r": "0x236ec1ba4b15a020d824eafaae181165a6666d0dc2d143976b1d536ceabcdfdb",
"s": "0x78157b8a42512d1b312847cc524ecdfb0e923a682cdb8897ced19d2acc981777"
},
{
"blockHash": "0xc3ffd4ab126f73fc9288d2c03db42d695045b77a778271240ecfc272cf946d6a",
"blockNumber": "0x1724e15",
"from": "0x314933dcc1db36b21982e3c3c2316175243e601a",
"gas": "0x126ec",
"gasPrice": "0x6fc23ac00",
"hash": "0x8d1829b4e5df4f58d0931643b919fe3fb6ffc7eb2be66fabf3938e428b6da8e4",
"input": "0xc8055e83",
"nonce": "0x0",
"to": "0xa231c5d2343ec5b71eb4160c607ed26fb45c7e65",
"transactionIndex": "0x7",
"value": "0x0",
"type": "0x0",
"chainId": "0x45c",
"v": "0x8dc",
"r": "0x41fb2e2a333e41420e18e565598e18e0d9d9fbaff66f642ea4f8da549455d350",
"s": "0x211f57ad4a61836786bb7907566249ae5778d8e56ed1c8d0571088a69efd35fc"
},
{
"blockHash": "0xc3ffd4ab126f73fc9288d2c03db42d695045b77a778271240ecfc272cf946d6a",
"blockNumber": "0x1724e15",
"from": "0x6488648b45c64446e7182ea9313fedb63e2a6925",
"gas": "0x126ec",
"gasPrice": "0x6fc23ac00",
"hash": "0x504af7b95a0341101746689e8972700a83e638d2c3ba39edd621efa0ee66ae61",
"input": "0xc8055e83",
"nonce": "0x0",
"to": "0xa231c5d2343ec5b71eb4160c607ed26fb45c7e65",
"transactionIndex": "0x8",
"value": "0x0",
"type": "0x0",
"chainId": "0x45c",
"v": "0x8db",
"r": "0xf53c0943dd3c1973583b9878e98efbf65cb28c1d8dda611091329ef30aefc37d",
"s": "0x4480bcba612f272b7bc6e6bb672f9b3719d98afaaf43168a898e5522cf074b3b"
},
{
"blockHash": "0xc3ffd4ab126f73fc9288d2c03db42d695045b77a778271240ecfc272cf946d6a",
"blockNumber": "0x1724e15",
"from": "0x4a50adaf0bc478127a3997a2ebdf46e00165825d",
"gas": "0x5208",
"gasPrice": "0x6fc23ac00",
"hash": "0x407f21e457c78f7d4cf2eeb92dd85a1cb1aa2ec94b197dd2fb05b932e7f8468d",
"input": "0x",
"nonce": "0x1",
"to": "0xe41bae1d6a23745ff844c1dc23f34f4cd0f92d72",
"transactionIndex": "0x9",
"value": "0x1b13f23e8dcd68a000",
"type": "0x0",
"chainId": "0x45c",
"v": "0x8db",
"r": "0x64c44e3211faadc53efa1c1598969dd13d03d211e460866a0d267efbb5ac6a9b",
"s": "0x211152bb1e6159c68c2f7df796f132297310f1b6192d7ec086fbd662dcf2c8e5"
},
{
"blockHash": "0xc3ffd4ab126f73fc9288d2c03db42d695045b77a778271240ecfc272cf946d6a",
"blockNumber": "0x1724e15",
"from": "0x0cb3340c7f9f1b229c369b8abf85c5af342b5f04",
"gas": "0x9eb2",
"gasPrice": "0x6fc23ac00",
"hash": "0x3742a62af3bd6aa483b87adade0ded80d2c550f0657f1d109250daa5ca5365e9",
"input": "0x6f49a3c0",
"nonce": "0x2",
"to": "0x5c3581fdb05e3a20fb109864dae75a5665a7f92d",
"transactionIndex": "0xa",
"value": "0x0",
"type": "0x0",
"chainId": "0x45c",
"v": "0x8dc",
"r": "0xcae05219968b421e68e1bac21aa6eae5027aff59a35726674dbb96fc428208fa",
"s": "0x33da9e64ebba58ee8df4775dbc930a56923e6d88a328313ad44e5a0014b7e4ba"
},
{
"blockHash": "0xc3ffd4ab126f73fc9288d2c03db42d695045b77a778271240ecfc272cf946d6a",
"blockNumber": "0x1724e15",
"from": "0x3fb42cab4416024dc1b4c9e21b9acd0dfcef35f6",
"gas": "0x7a120",
"gasPrice": "0x0",
"hash": "0xad148eac441fb33926b63589e87b941c1e8b3442152da6a9eb8f61d901386ef6",
"input": "0xf340fa010000000000000000000000003fb42cab4416024dc1b4c9e21b9acd0dfcef35f6",
"nonce": "0xc1f7e",
"to": "0x0000000000000000000000000000000000001000",
"transactionIndex": "0xb",
"value": "0x35df2d6f549000",
"type": "0x0",
"chainId": "0x45c",
"v": "0x8db",
"r": "0xbd6f942275c35ee7198d8c81a5acf74533d1d000d5217c6c077545bc6f39ff64",
"s": "0x58b74a81dd7d9695fae28ca84f23b21196728373cd0adefc954cf35a9bebc25e"
}
],
"transactionsRoot": "0xae35eb974d6b669cf51d8964d8b89afdc1379842a33937842bd2b65b2bc03782",
"uncles": []
}
}
eth_getBlockTransactionCountByHash
Returns the number of transactions in a block matching the given block hash.
Method: POST
https://core.nownodes.io/
Example body (raw)
{
"jsonrpc": "2.0",
"method": "eth_getBlockTransactionCountByHash",
"params": [
"0xc3ffd4ab126f73fc9288d2c03db42d695045b77a778271240ecfc272cf946d6a"
],
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": "0xc"
}
eth_getBlockTransactionCountByNumber
Returns the number of transactions in a block from a block matching the given block number.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc":"2.0","method":"eth_getBlockTransactionCountByNumber","params":["0x1724E15"],"id":1}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": "0xc"
}
eth_getCode
Returns code at a given address.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc":"2.0","method":"eth_getCode","params":["0x7f461f8a1c35eDEcD6816e76Eb2E84eb661751eE", "latest"],"id":1}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x"
}
eth_getFilterChanges
Polling method for a filter, which returns an array of logs which occurred since last poll.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc":"2.0","method":"eth_getFilterChanges","params":["0x16"],"id":73}
Example response: 200
{
"jsonrpc": "2.0",
"id": 73,
"error": {
"code": -32000,
"message": "filter not found"
}
}
eth_getFilterLogs
Returns an array of all logs matching filter with given id.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc":"2.0","method":"eth_getFilterChanges","params":["0x16"],"id":73}
Example response: 200
{
"jsonrpc": "2.0",
"id": 74,
"error": {
"code": -32000,
"message": "filter not found"
}
}
eth_getStorageAt
Returns the value from a storage position at a given address.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc":"2.0", "method": "eth_getStorageAt","params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x0", "latest"],"id": 1}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
eth_getTransactionByBlockHashAndIndex
Returns information about a transaction given a blockhash and transaction index position
Method: POST
https://core.nownodes.io/
Example body (raw)
{
"method": "eth_getTransactionByBlockHashAndIndex",
"params": ["0xb3845e2f519384d45b45ce2d211caca012a183afe0ccb825d80cf395a5250abc", "0x5"],
"id": 1,
"jsonrpc": "2.0"
}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": null
}
eth_getTransactionByBlockNumberAndIndex
Returns information about a transaction given a block number and transaction index position.
Method: POST
https://core.nownodes.io/
Example body (raw)
{
"method": "eth_getTransactionByBlockNumberAndIndex",
"params": ["0x44F060", "0x5"],
"id": 1,
"jsonrpc": "2.0"
}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0x3a4c367eab997f817886b5d8a21e102ff4dd7625b0c1e52bbae3e40dcdeac9e6",
"blockNumber": "0x44f060",
"from": "0xe93685f3bba03016f02bd1828badd6195988d950",
"gas": "0xf9b5c",
"gasPrice": "0x861c46800",
"hash": "0x8453c7fb056c08b75f474ad9bf1380b2cd3877cd6df16c7edf3df6b3948096bc",
"input": "0x252f7b010000000000000000000000000000000000000000000000000000000000000066000000000000000000000000a4218e1f39da4aadac971066458db56e901bcbde0000000000000000000000000000000000000000000000000000000000030d40c22a42f242a1bdc3d64e83408ed1eee2d055bd4c0909d7694f387505b0768febc22a42f242a1bdc3d64e83408ed1eee2d055bd4c0909d7694f387505b0768feb00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000d40000000000000000000000004d73adb72bc3dd368966edd0f0b2148401a178e20000000000130816006652e75d318cfb31f9a2edfa2dfee26b161255b2330099a4218e1f39da4aadac971066458db56e901bcbde00000000000000000000000000000000000000000000000000000000000000000000000000000000000000008ac76a51cc950d9822d68b83fe1ad97b32cd580d000000000000000000000000b871302d4db78b08013aa87c1169f3f9287f08ee0000000000000000000000000000000000000000000000000000000000000fa0000000000000000000000000",
"nonce": "0x130e1b",
"to": "0xfe7c30860d01e28371d40434806f4a8fcdd3a098",
"transactionIndex": "0x5",
"value": "0x0",
"type": "0x0",
"chainId": "0x45c",
"v": "0x8dc",
"r": "0xf80742714526c962010fbc0f2465a88761231ac45c35e406bf3a129fb2e84c0a",
"s": "0x2016bc7ebc3ddc42e0af66c8cc47a26221060f5b80c9655ada07be74d8f1bd44"
}
}
eth_getTransactionByHash
Returns the information about a transaction requested by transaction hash.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc":"2.0","method":"eth_getTransactionByHash","params":["0x10580961b7ca3ab6ec9bb657c0121308da907440a5eceef128c63bb160826547"],"id":1}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0x9c00a3818b69b1b53092125bb6fe331540268f745ccf560e4a4ab2d663457020",
"blockNumber": "0x1724d12",
"from": "0x7f461f8a1c35edecd6816e76eb2e84eb661751ee",
"gas": "0x7a120",
"gasPrice": "0x0",
"hash": "0x10580961b7ca3ab6ec9bb657c0121308da907440a5eceef128c63bb160826547",
"input": "0xf340fa010000000000000000000000007f461f8a1c35edecd6816e76eb2e84eb661751ee",
"nonce": "0x108b30",
"to": "0x0000000000000000000000000000000000001000",
"transactionIndex": "0x8",
"value": "0x250f3d472f5400",
"type": "0x0",
"chainId": "0x45c",
"v": "0x8db",
"r": "0x8fa1451458dcc9562b5b72599d7dc0cd50066ffea011a6aaf969cead79ca297c",
"s": "0xde794db2c50f03f9b95b14927ea71ec11e77223be3618996be5ec05461c3f86"
}
}
eth_getTransactionCount
Returns the number of transactions sent from an address.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc":"2.0","method":"eth_getTransactionCount","params":["0x7f461f8a1c35eDEcD6816e76Eb2E84eb661751eE","latest"],"id":1}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x108b61"
}
eth_getTransactionReceipt
Returns the receipt of a transaction by transaction hash.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["0x10580961b7ca3ab6ec9bb657c0121308da907440a5eceef128c63bb160826547"],"id":1}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0x9c00a3818b69b1b53092125bb6fe331540268f745ccf560e4a4ab2d663457020",
"blockNumber": "0x1724d12",
"contractAddress": null,
"cumulativeGasUsed": "0x5a116",
"effectiveGasPrice": "0x0",
"from": "0x7f461f8a1c35edecd6816e76eb2e84eb661751ee",
"gasUsed": "0x52d7",
"logs": [
{
"address": "0x0000000000000000000000000000000000001000",
"topics": [
"0x93a090ecc682c002995fad3c85b30c5651d7fd29b0be5da9d784a3302aedc055",
"0x0000000000000000000000007f461f8a1c35edecd6816e76eb2e84eb661751ee"
],
"data": "0x00000000000000000000000000000000000000000000000026d392947e5c4000",
"blockNumber": "0x1724d12",
"transactionHash": "0x10580961b7ca3ab6ec9bb657c0121308da907440a5eceef128c63bb160826547",
"transactionIndex": "0x8",
"blockHash": "0x9c00a3818b69b1b53092125bb6fe331540268f745ccf560e4a4ab2d663457020",
"logIndex": "0x4",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002010000000000010000000000000000000000020000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000004400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000800000",
"status": "0x1",
"to": "0x0000000000000000000000000000000000001000",
"transactionHash": "0x10580961b7ca3ab6ec9bb657c0121308da907440a5eceef128c63bb160826547",
"transactionIndex": "0x8",
"type": "0x0"
}
}
eth_sendRawTransaction
Creates new message call transaction or a contract creation for signed transactions.
Method: POST
https://core.nownodes.io/
Example body (raw)
{
"jsonrpc": "2.0",
"method": "eth_sendRawTransaction",
"params": [
"0x10580961b7ca3ab6ec9bb657c0121308da907440a5eceef128c63bb160826547"
],
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32000,
"message": "transaction type not supported"
}
}
eth_syncing
The sync status object may need to be different depending on the details of Tendermint's sync protocol. However, the 'synced' result is simply a boolean, and can easily be derived from Tendermint's internal sync state.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc": "2.0", "method": "eth_syncing", "id": 1, "params": []}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": false
}
eth_uninstallFilter
Uninstalls a filter with given id. Should always be called when watch is no longer needed.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc":"2.0","method":"eth_uninstallFilter","params":["0xb"],"id":73}
Example response: 200
{
"jsonrpc": "2.0",
"id": 73,
"result": false
}
eth_maxPriorityFeePerGas
Returns a fee per gas that is an estimate of how much you can pay as a priority fee, or 'tip', to get a transaction included in the current block.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"id": 1,"jsonrpc": "2.0","method": "eth_maxPriorityFeePerGas"}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x3b9aca00"
}
eth_feeHistory
Returns a collection of historical gas information.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"id": 1,"jsonrpc": "2.0","method": "eth_feeHistory","params": [4,4,4]}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32602,
"message": "invalid argument 1: hex string without 0x prefix"
}
}
net_version
Returns the current network id.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc": "2.0", "method": "net_version", "id": 1, "params": []}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": "1116"
}
net_listening
Returns true if client is actively listening for network connections.
Method: POST
https://core.nownodes.io/
Example body (raw)
{
"id": 1,
"jsonrpc": "2.0",
"method": "net_listening"
}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": true
}
web3_clientVersion
Get the web3 client version.
Method: POST
https://core.nownodes.io/
Example body (raw)
{"jsonrpc": "2.0", "method": "web3_clientVersion", "id": 1, "params": []}
Example response: 200
{
"jsonrpc": "2.0",
"id": 1,
"result": "Geth/v1.0.15-5b58973b/linux-amd64/go1.21.13"
}
Last updated