SHIB (Shibarium)

eth_accounts

Returns array of all accounts owned by the client.

Method: POST

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

Example body (raw)

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

Example response: 200

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

eth_blockNumber

Returns the number of most recent block.

Method: POST

https://shib.nownodes.io

Example body (raw)

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

Example response: 200

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

eth_call

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

Method: POST

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

Example body (raw)

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

Example response: 200

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

eth_getBalance

Returns the balance of the account of given address.

Method: POST

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

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getBlockByHash","params":["0xcbcf3c55425e66c2469543d51ae7c41395066345487239c1f3002bb97d7a3f35", 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://shib.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": "0x3",
        "extraData": "0xd682021083626f7288676f312e31362e37856c696e7578000000000000000000537da9aaacd273e930c2939f1f8ab2c90c698bc229526b8635b803b331b7fec630744b3a461b91b2575fc35c66c8c80eda57374b627878936de8b9cb0eed3bb401",
        "gasLimit": "0xe984c2",
        "gasUsed": "0x0",
        "hash": "0x11f83776be8d27fbe26435470f125240b0690bab214f11fb49ecfd2f30ba778d",
        "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
        "miner": "0x0000000000000000000000000000000000000000",
        "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "nonce": "0x0000000000000000",
        "number": "0x1b4",
        "parentHash": "0xa376bfe334a07e6eb1e1a465fa9615ddc1443f3357f829e781f4c634f7fe0654",
        "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
        "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
        "size": "0x261",
        "stateRoot": "0xf2b7009cb84d508ac7e823c50aa7441047e67a35e3919e83a57f43b03f4e1f80",
        "timestamp": "0x64ceb8ca",
        "totalDifficulty": "0x917",
        "transactions": [],
        "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
        "uncles": []
    }
}

eth_getBlockTransactionCountByHash

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

Method: POST

https://shib.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getBlockTransactionCountByHash","params":["0xdb0513fae8e0265abfa2bd8e5adbb7d81c0bdd7d9b3c068550a884642da02f39"],"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://shib.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://shib.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://shib.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://shib.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://shib.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://shib.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://shib.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getTransactionByBlockHashAndIndex","params":["0xdb0513fae8e0265abfa2bd8e5adbb7d81c0bdd7d9b3c068550a884642da02f39", "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://shib.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getTransactionByBlockNumberAndIndex","params":["0x42EE67", "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://shib.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getTransactionByHash","params":["0x829098e9287be260aa61930476b0d046abe6f268eff9aca22f67ed3e0587b5e6"],"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://shib.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://shib.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["0x829098e9287be260aa61930476b0d046abe6f268eff9aca22f67ed3e0587b5e6"],"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://shib.nownodes.io

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getUncleByBlockHashAndIndex","params":["0xdb0513fae8e0265abfa2bd8e5adbb7d81c0bdd7d9b3c068550a884642da02f39","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://shib.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://shib.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://shib.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://shib.nownodes.io

Example body (raw)

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

Example response: 200

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

eth_newFilter

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

Method: POST

https://shib.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": "0x1a4fc7460e5c06a8430b7f912d67b22a"
}

eth_newPendingTransactionFilter

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

Method: POST

https://shib.nownodes.io

Example body (raw)

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

Example response: 200

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

eth_sendRawTransaction

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

Method: POST

https://shib.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://shib.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://shib.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://shib.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://shib.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://shib.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://shib.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_mining

Method: POST

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

Example body (raw)

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

Example response: 200

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

net_listening

Returns true if client is actively listening for network connections.

Method: POST

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

Example body (raw)

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

Example response: 200

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

web3_clientVersion

Get the web3 client version.

Method: POST

https://shib.nownodes.io

Example body (raw)

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

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "bor/v0.2.17-stable/linux-amd64/go1.18.1"
}

web3_sha3

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

Method: POST

https://shib.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