sepolia

eth_accounts

Returns array of all accounts owned by the client.

Method: POST

https://eth-sepolia.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://eth-sepolia.nownodes.io

Example body (raw)

{ "id": 1,"jsonrpc": "2.0","method": "eth_chainId" }

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0xaa36a7"
}

eth_blockNumber

Returns the number of most recent block.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc": "2.0", "method": "eth_blockNumber", "id": 1, "params": []}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x581ccc"
}

eth_call

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

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_call","params":[{ "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567" }, "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://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_estimateGas","params":[{ "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567" }, "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://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc": "2.0", "method": "eth_gasPrice", "id": 1, "params": []}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x3fe5173b"
}

eth_getBalance

Returns the balance of the account of given address.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getBalance","params":["0x407d73d8a49eeb85d32cf465507dd71d507100c1", "latest"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x0"
}

eth_getBlockByHash

Returns information about a block by hash.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getBlockByHash","params":["0xdc0818cf78f21a8e70579cb46a43643f78291264dda342ae31049421c82d21ae", false],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": null
}

eth_getBlockByNumber

Returns information about a block by block number.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x1b4", true],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "baseFeePerGas": "0x7",
        "difficulty": "0x277e1",
        "extraData": "0x",
        "gasLimit": "0x1c9c380",
        "gasUsed": "0x0",
        "hash": "0x4069699f4304ee58adc892661fe1e6667962da5326a57d6c0179d763a775a0d6",
        "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
        "miner": "0x2f14582947e292a2ecd20c430b46f2d27cfe213c",
        "mixHash": "0x2b1f8a2b947a83f6836a4f99ec4dbb1e4b22eda3a79cb40f85906c1334f64b45",
        "nonce": "0xc7faaf72b4588dfb",
        "number": "0x1b4",
        "parentHash": "0xf456e77f27fb99fadae70182138a3687d8482d64e9677b2c9f934d9379c018b1",
        "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
        "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
        "size": "0x203",
        "stateRoot": "0x6fbabd9ad6fe39d48abca3dc592edcca0ca29bc85c91daecdad6db84048cec92",
        "timestamp": "0x61736246",
        "totalDifficulty": "0x3cc4861",
        "transactions": [],
        "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
        "uncles": []
    }
}

eth_getBlockTransactionCountByHash

Returns the number of transactions in a block matching the given block hash.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getBlockTransactionCountByHash","params":["0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": null
}

eth_getBlockTransactionCountByNumber

Returns the number of transactions in a block from a block matching the given block number.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getBlockTransactionCountByNumber","params":["0xe8"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x0"
}

eth_getCode

Returns code at a given address.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getCode","params":["0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "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://eth-sepolia.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://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getFilterLogs","params":["0x16"],"id":74}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 74,
    "error": {
        "code": -32000,
        "message": "filter not found"
    }
}

eth_getLogs

Returns an array of all logs matching a given filter object.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getLogs","params":[{"topics":["0x000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b"]}],"id":74}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 74,
    "result": []
}

eth_getStorageAt

Returns the value from a storage position at a given address.

Method: POST

https://eth-sepolia.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 by block hash and transaction index position.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getTransactionByBlockHashAndIndex","params":["0xc6ef2fc5426d6ad6fd9e2a26abeab0aa2411b7ab17f30a99d3cb96aed1d1055b", "0x0"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": null
}

eth_getTransactionByBlockNumberAndIndex

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

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getTransactionByBlockNumberAndIndex","params":["0x29c", "0x0"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": null
}

eth_getTransactionByHash

Returns the information about a transaction requested by transaction hash.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getTransactionByHash","params":["0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": null
}

eth_getTransactionCount

Returns the number of transactions sent from an address.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getTransactionCount","params":["0x407d73d8a49eeb85d32cf465507dd71d507100c1","latest"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x0"
}

eth_getTransactionReceipt

Returns the receipt of a transaction by transaction hash.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": null
}

eth_getUncleByBlockHashAndIndex

Returns information about a uncle of a block by hash and uncle index position.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getUncleByBlockHashAndIndex","params":["0xc6ef2fc5426d6ad6fd9e2a26abeab0aa2411b7ab17f30a99d3cb96aed1d1055b","0x0"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": null
}

eth_getUncleByBlockNumberAndIndex

Returns information about a uncle of a block by number and uncle index position.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getUncleByBlockNumberAndIndex","params":["0x29c", "0x0"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": null
}

eth_getUncleCountByBlockHash

Returns the number of uncles in a block matching the given block hash.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getUncleCountByBlockHash","params":["0xc6ef2fc5426d6ad6fd9e2a26abeab0aa2411b7ab17f30a99d3cb96aed1d1055b"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": null
}

eth_getUncleCountByBlockNumber

Returns the number of uncles in a block from a block matching the given block number.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getUncleCountByBlockNumber","params":["0xe8"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x0"
}

eth_newBlockFilter

Creates a filter in the node, to notify when a new block arrives.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc": "2.0", "method": "eth_newBlockFilter", "id": 1, "params": []}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0xa6ea0118b1d62c5fd356e75dca90f303"
}

eth_newFilter

Creates a filter object, based on filter options, to notify when the state changes (logs).

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_newFilter","params":[{ "fromBlock": "0x1", "toBlock": "0x2", "address": "0x8888f1f195afa192cfee860698584c030f4c9db1", "topics": ["0x000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b", null, ["0x000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b", "0x0000000000000000000000000aff3454fce5edbc8cca8697c15331677e6ebccc"]] }],"id":73}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 73,
    "result": "0xd774a8eba0be081efcc5d02cac10b369"
}

eth_newPendingTransactionFilter

Creates a filter in the node, to notify when new pending transactions arrive.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc": "2.0", "method": "eth_newPendingTransactionFilter", "id": 1, "params": []}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x346aceccc63eba3020cddb5b647142eb"
}

eth_pendingTransactions

Creates a filter in the node, to notify when new pending transactions arrive.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{
    "jsonrpc": "2.0",
    "method": "eth_pendingTransactions",
    "id": 1,
    "params": []
}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": []
}

eth_sendRawTransaction

Creates new message call transaction or a contract creation for signed transactions.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "code": -32000,
        "message": "rlp: element is larger than containing list"
    }
}

eth_sendTransaction

Creates new message call transaction or a contract creation, if the data field contains code.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{ "id": 1, "jsonrpc": "2.0", "method": "eth_sendTransaction", "params": [{ "from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155", "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675" }] }

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "code": -32000,
        "message": "unknown account"
    }
}

eth_sign

The sign method calculates an Ethereum specific signature with: sign(keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))).

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_sign","params":["0x9b2055d370f73ec7d8a03e965129118dc8f5bf83", "0xdeadbeaf"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "code": -32000,
        "message": "unknown account"
    }
}

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://eth-sepolia.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://eth-sepolia.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_createAccessList

Returns list of addresses and storage keys that are read and written by the transaction (except the sender account and precompiles), plus the estimated gas consumed when the access list is added.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"id": 1,"jsonrpc": "2.0","method": "eth_createAccessList","params": [{"to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567","gas": "0x0","gasPrice": "0x9184e72a000","value": "0x0","data": "0x"}]}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "code": -32000,
        "message": "failed to apply transaction: 0x58b593d820724de2437e022e769b6ddd7d2f0f7c70fd77d8f1747ffd6cdafc96 err: intrinsic gas too low: have 0, want 21000"
    }
}

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://eth-sepolia.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://eth-sepolia.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"
    }
}

eth_getProof

Returns the account and storage values of the specified accoun.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"id": 1,"jsonrpc": "2.0","method": "eth_getProof","params": ["0xe5cB067E90D5Cd1F8052B83562Ae670bA4A211a8"]}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "code": -32602,
        "message": "missing value for required argument 1"
    }
}

eth_mining

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{
    "jsonrpc": "2.0",
    "method": "eth_mining",
    "params": [],
    "id": 71
}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 71,
    "result": false
}

eth_coinbase

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{
    "jsonrpc": "2.0",
    "method": "eth_coinbase",
    "params": [],
    "id": 64
}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 64,
    "error": {
        "code": -32000,
        "message": "etherbase must be explicitly specified"
    }
}

eth_signTransaction

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "eth_signTransaction",
    "params": [
        {
            "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675",
            "from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155",
            "gas": "0x76c0",
            "gasPrice": "0x9184e72a000",
            "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567",
            "value": "0x9184e72a"
        }
    ]
}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "code": -32000,
        "message": "nonce not specified"
    }
}

eth_sign

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{
    "jsonrpc": "2.0",
    "method": "eth_sign",
    "params": [
        "0x9b2055d370f73ec7d8a03e965129118dc8f5bf83",
        "0xdeadbeaf"
    ],
    "id": 1
}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "code": -32000,
        "message": "unknown account"
    }
}

eth_hashrate

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{
    "jsonrpc": "2.0",
    "method": "eth_hashrate",
    "params": [],
    "id": 71
}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 71,
    "result": "0x0"
}

net_version

Returns the current network id.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc": "2.0", "method": "net_version", "id": 1, "params": []}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "11155111"
}

net_listening

Returns true if client is actively listening for network connections.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "net_listening"
}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": true
}

net_peerCount

Returns the number of peers currently connected to the client.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{
    "jsonrpc": "2.0",
    "method": "net_peerCount",
    "params": [],
    "id": 74
}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 74,
    "result": "0x31"
}

web3_clientVersion

Get the web3 client version.

Method: POST

https://eth-sepolia.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.13.14-stable-2bd6bd01/linux-amd64/go1.21.6"
}

web3_sha3

Returns Keccak-256 (not the standardized SHA3-256) of the given data.

Method: POST

https://eth-sepolia.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"web3_sha3","params":["0x67656c6c6f20776f726c64"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x1b84adea42d5b7d192fd8a61a85b25abe0757e9a65cab1da470258914053823f"
}

Last updated