Parameters
Returns
- resultobject
An object describing the node's current head and the data resources it can serve
- headobject
The current canonical head reported by the node
- numberstring
The head block number in hexadecimal format
- hashstring
The head block hash
- stateobject
Availability of historical state (used by state-reading methods such as eth_getBalance, eth_getCode, and eth_getStorageAt)
- disabledboolean
Whether the resource is disabled entirely
- oldestBlockstring
The oldest block for which the resource is available, in hexadecimal format
- deleteStrategyobject
Describes how data is removed over time. Present only for resources with sliding-window retention
- typestring
The deletion strategy type, e.g. window
- retentionBlocksstring
The number of most recent blocks retained, in hexadecimal format
- txobject
Availability of the transaction lookup index (used by methods such as eth_getTransactionByHash and eth_getTransactionReceipt)
- disabledboolean
Whether the resource is disabled entirely
- oldestBlockstring
The oldest block for which the resource is available, in hexadecimal format
- deleteStrategyobject
Describes how data is removed over time. Present only for resources with sliding-window retention
- typestring
The deletion strategy type, e.g. window
- retentionBlocksstring
The number of most recent blocks retained, in hexadecimal format
- logsobject
Availability of the log search index (used by eth_getLogs)
- disabledboolean
Whether the resource is disabled entirely
- oldestBlockstring
The oldest block for which the resource is available, in hexadecimal format
- deleteStrategyobject
Describes how data is removed over time. Present only for resources with sliding-window retention
- typestring
The deletion strategy type, e.g. window
- retentionBlocksstring
The number of most recent blocks retained, in hexadecimal format
- receiptsobject
Availability of historical receipts (used by methods such as eth_getBlockReceipts and eth_getTransactionReceipt)
- disabledboolean
Whether the resource is disabled entirely
- oldestBlockstring
The oldest block for which the resource is available, in hexadecimal format
- deleteStrategyobject
Describes how data is removed over time. Present only for resources with sliding-window retention
- typestring
The deletion strategy type, e.g. window
- retentionBlocksstring
The number of most recent blocks retained, in hexadecimal format
- blocksobject
Availability of historical blocks (used by methods such as eth_getBlockByNumber and eth_getBlockByHash)
- disabledboolean
Whether the resource is disabled entirely
- oldestBlockstring
The oldest block for which the resource is available, in hexadecimal format
- deleteStrategyobject
Describes how data is removed over time. Present only for resources with sliding-window retention
- typestring
The deletion strategy type, e.g. window
- retentionBlocksstring
The number of most recent blocks retained, in hexadecimal format
- stateproofsobject
Availability of historical state proofs (used by eth_getProof)
- disabledboolean
Whether the resource is disabled entirely
- oldestBlockstring
The oldest block for which the resource is available, in hexadecimal format
- deleteStrategyobject
Describes how data is removed over time. Present only for resources with sliding-window retention
- typestring
The deletion strategy type, e.g. window
- retentionBlocksstring
The number of most recent blocks retained, in hexadecimal format
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"head": {6"number": "0x181f9c",7"hash": "0x230c65561b1394a9e152dac340547d67b6e86e9f1bdb0a20bc2497dbacd35dcb"8},9"state": {10"disabled": false,11"oldestBlock": "0x181f1d",12"deleteStrategy": {13"type": "window",14"retentionBlocks": "0x80"15}16},17"tx": {18"disabled": false,19"oldestBlock": "0x0"20},21"logs": {22"disabled": false,23"oldestBlock": "0x0"24},25"receipts": {26"disabled": false,27"oldestBlock": "0x0"28},29"blocks": {30"disabled": false,31"oldestBlock": "0x0"32},33"stateproofs": {34"disabled": false,35"oldestBlock": "0x181f1d",36"deleteStrategy": {37"type": "window",38"retentionBlocks": "0x80"39}40}41}42}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"head": {6"number": "0x181f9c",7"hash": "0x230c65561b1394a9e152dac340547d67b6e86e9f1bdb0a20bc2497dbacd35dcb"8},9"state": {10"disabled": false,11"oldestBlock": "0x181f1d",12"deleteStrategy": {13"type": "window",14"retentionBlocks": "0x80"15}16},17"tx": {18"disabled": false,19"oldestBlock": "0x0"20},21"logs": {22"disabled": false,23"oldestBlock": "0x0"24},25"receipts": {26"disabled": false,27"oldestBlock": "0x0"28},29"blocks": {30"disabled": false,31"oldestBlock": "0x0"32},33"stateproofs": {34"disabled": false,35"oldestBlock": "0x181f1d",36"deleteStrategy": {37"type": "window",38"retentionBlocks": "0x80"39}40}41}42}