EVM Methods

eth_subscribe

Subscribe to different Ethereum event types like newHeads, logs, pendingTransactions, and minedTransactions using WebSockets.

wss://odyssey.nownodes.io/wss

Example body (raw)

{"jsonrpc":"2.0","id": 2, "method": "eth_subscribe", "params": []}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 2,
    "error": {
        "code": -32602,
        "message": "expected subscription name as first argument"
    }
}

eth_unsubscribe

Unsubscribe from different Ethereum event types with a regular RPC call with eth_unsubscribe as the method and the subscriptionId as the first parameter.

wss://odyssey.nownodes.io/wss

Example body (raw)

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

Example response: 200

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

eth_chainId

Returns the currently configured chain ID, a value used in replay-protected transaction signing as introduced by EIP-155.

wss://odyssey.nownodes.io/wss

Example body (raw)

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

Example response: 200

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

eth_blockNumber

Returns the number of most recent block.

wss://odyssey.nownodes.io/wss

Example body (raw)

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

Example response: 200

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

eth_call

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

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

Example body (raw)

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

Example response: 200

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

eth_getBalance

Returns the balance of the account of given address.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

Example body (raw)

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

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "baseFeePerGas": "0xd88bde16e186",
        "blockExtraData": "0x",
        "blockGasCost": "0x0",
        "difficulty": "0x1",
        "extDataGasUsed": "0x0",
        "extDataHash": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
        "extraData": "0x000000000000000000000000000414d700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
        "gasLimit": "0xe4e1c0",
        "gasUsed": "0x18407",
        "hash": "0x316413bcdd35deb82fb5eb05d229e3d61c918ca641df32480af00ee6e6abc162",
        "logsBloom": "0x00000000004000000000000000000040000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000008000000040000000000000000000000000000008400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
        "miner": "0x0100000000000000000000000000000000000000",
        "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "nonce": "0x0000000000000000",
        "number": "0x1b4",
        "parentHash": "0x0d1914e8d57613c46971fb1373b26d3714b29c1fe9cb0866012118d25ced615f",
        "receiptsRoot": "0xc4d7e5aba7126efeb7894cfc6c2d18cc9a6a55868221b3aa2d5417371b472cda",
        "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
        "size": "0x2f7",
        "stateRoot": "0x1b68241013ca05c74bacb3b229728b02be05b8a86775806e61a9f5b6843c61aa",
        "timestamp": "0x66f21ec3",
        "totalDifficulty": "0x1b4",
        "transactions": [
            {
                "blockHash": "0x316413bcdd35deb82fb5eb05d229e3d61c918ca641df32480af00ee6e6abc162",
                "blockNumber": "0x1b4",
                "from": "0xe7117c7edf6b60f38a33e41998d588db44c2fa32",
                "gas": "0x18f1b",
                "gasPrice": "0xd88bde16e186",
                "maxFeePerGas": "0x1b117bc2dc30c",
                "maxPriorityFeePerGas": "0x0",
                "hash": "0xcfaa817cc53d6618be559c82a3b048ea3120227ea96131c7b954034c4558ee1f",
                "input": "0xafdb0556",
                "nonce": "0xb8",
                "to": "0xeca73a7086dccecdc30d45c61a4d0ba3af634260",
                "transactionIndex": "0x0",
                "value": "0x0",
                "type": "0x2",
                "accessList": [],
                "chainId": "0x200f1",
                "v": "0x0",
                "r": "0xd8770799595b88ec931c395b5b1e5889d8ce70348f82d0685fae91dbb3d00616",
                "s": "0x3223d78da2b942f8e089c24b943de25979912cc9512b72497008357ae4adaebd"
            }
        ],
        "transactionsRoot": "0xa1dae80bd2f3ddcafa4e11680d7a5734873ba585d463feda9f80cb404b02e962",
        "uncles": []
    }
}

eth_getBlockTransactionCountByHash

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

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

Example body (raw)

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

Example response: 200

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

eth_getCode

Returns code at a given address.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

Example body (raw)

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

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "blockHash": "0x18e1e7841b5fe4bc9073e9648b7d19416b2e1c8aed888cd0bb4a6ce87335a9f3",
        "blockNumber": "0x29c",
        "from": "0x923d1bc45dafd57a17e8a8eaa3ca212551e0d323",
        "gas": "0x12e23",
        "gasPrice": "0xd88bde16e186",
        "maxFeePerGas": "0xd88bde16e186",
        "maxPriorityFeePerGas": "0xd88bde16e186",
        "hash": "0x2566655a223360df6fdd3ce9cbc4e699a797c886340b006665352867943dc3d1",
        "input": "0xa9059cbb00000000000000000000000025dcec147148e270e5ba0de23ccac4adadaf8f6f000000000000000000000000000000000000000000001315fe973e23640d0000",
        "nonce": "0x8",
        "to": "0x3fa725cedc78b45e3e8efd1fc46b980a919a4de5",
        "transactionIndex": "0x0",
        "value": "0x0",
        "type": "0x2",
        "accessList": [],
        "chainId": "0x200f1",
        "v": "0x1",
        "r": "0xacbbf57e97ca6f2f2203f5afcab55f1c43a038758f499027d4ec8888acf1a460",
        "s": "0x6fc3459032a9139f27cb95d5c3caa5a9bcc704d080a929728226f82268960954"
    }
}

eth_getTransactionByHash

Returns the information about a transaction requested by transaction hash.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

Example body (raw)

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

Example response: 200

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

eth_newFilter

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

Method: POST

wss://odyssey.nownodes.io/wss

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": "0x67b808088bffc217cd010e0e37437ab2"
}

eth_newPendingTransactionFilter

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

wss://odyssey.nownodes.io/wss

Example body (raw)

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

Example response: 200

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

eth_pendingTransactions

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

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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))).

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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: 0x295daf8de677ee7e46bc6776b7608cb9d9f7b1550145f6228dd636e6e203492c 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.

wss://odyssey.nownodes.io/wss

Example body (raw)

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

Example response: 200

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

eth_feeHistory

Returns a collection of historical gas information.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

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_coinbase

wss://odyssey.nownodes.io/wss

Example body (raw)

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

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 64,
    "result": "0x0100000000000000000000000000000000000000"
}

eth_signTransaction

wss://odyssey.nownodes.io/wss

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

wss://odyssey.nownodes.io/wss

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"
    }
}

net_version

Returns the current network id.

wss://odyssey.nownodes.io/wss

Example body (raw)

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

Example response: 200

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

net_listening

Returns true if client is actively listening for network connections.

wss://odyssey.nownodes.io/wss

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.

wss://odyssey.nownodes.io/wss

Example body (raw)

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

Example response: 200

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

web3_clientVersion

Get the web3 client version.

wss://odyssey.nownodes.io/wss

Example body (raw)

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

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "v0.12.5"
}

web3_sha3

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

wss://odyssey.nownodes.io/wss

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