Appearance
eth_capabilities
not served
Returns what the node can answer, for routing decisions. Cinder does not serve it yet.
Not served yet
Cinder does not serve this method. Planned for v1.0.
When to use
A proxy can use it to send each request to a node that can answer it.
Parameters
None.
Returns
The capabilities of the node.
Schema (OpenRPC)
The official specification: eth_capabilities in ethereum/execution-apis.
Result: object
json
{
"additionalProperties": false,
"description": "Describes the data available on the node. Each resource reports the oldest available block and the deletion strategy, allowing RPC routers to determine which historical queries a node can serve.",
"properties": {
"blocks": {
"additionalProperties": false,
"description": "Block headers and bodies including transactions and uncles. Determines the available range for block retrieval. Affects: eth_getBlockByHash, eth_getBlockByNumber, eth_getBlockTransactionCountByHash, eth_getBlockTransactionCountByNumber, eth_getUncleCountByBlockHash, eth_getUncleCountByBlockNumber.",
"properties": {
"deleteStrategy": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"retentionBlocks": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "hex encoded unsigned integer",
"type": "string"
},
"type": {
"enum": [
"window"
],
"type": "string"
}
},
"required": [
"type",
"retentionBlocks"
],
"title": "Sliding window deletion",
"type": "object"
}
],
"title": "Delete strategy"
},
"disabled": {
"type": "boolean"
},
"oldestBlock": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "hex encoded unsigned integer",
"type": "string"
}
},
"required": [
"disabled"
],
"title": "Effective resource capability",
"type": "object"
},
"head": {
"additionalProperties": false,
"description": "The latest block known to the node, useful for determining sync status.",
"properties": {
"hash": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "Head block hash",
"type": "string"
},
"number": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "Head block number",
"type": "string"
}
},
"required": [
"number",
"hash"
],
"title": "Current head block",
"type": "object"
},
"logs": {
"additionalProperties": false,
"description": "Event logs emitted by smart contracts. Determines the available block range for log queries and filters. Affects: eth_getLogs, eth_getFilterLogs, eth_getFilterChanges, eth_newFilter.",
"properties": {
"deleteStrategy": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"retentionBlocks": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "hex encoded unsigned integer",
"type": "string"
},
"type": {
"enum": [
"window"
],
"type": "string"
}
},
"required": [
"type",
"retentionBlocks"
],
"title": "Sliding window deletion",
"type": "object"
}
],
"title": "Delete strategy"
},
"disabled": {
"type": "boolean"
},
"oldestBlock": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "hex encoded unsigned integer",
"type": "string"
}
},
"required": [
"disabled"
],
"title": "Effective resource capability",
"type": "object"
},
"receipts": {
"additionalProperties": false,
"description": "Transaction execution receipts including status, gas used, and logs bloom. Determines the available range for receipt lookups. Affects: eth_getTransactionReceipt, eth_getBlockReceipts.",
"properties": {
"deleteStrategy": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"retentionBlocks": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "hex encoded unsigned integer",
"type": "string"
},
"type": {
"enum": [
"window"
],
"type": "string"
}
},
"required": [
"type",
"retentionBlocks"
],
"title": "Sliding window deletion",
"type": "object"
}
],
"title": "Delete strategy"
},
"disabled": {
"type": "boolean"
},
"oldestBlock": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "hex encoded unsigned integer",
"type": "string"
}
},
"required": [
"disabled"
],
"title": "Effective resource capability",
"type": "object"
},
"state": {
"additionalProperties": false,
"description": "Account and contract state including balances, nonces, code, and storage. Determines the available range for historical state queries. Affects: eth_getBalance, eth_getCode, eth_getStorageAt, eth_getTransactionCount, eth_call, eth_estimateGas, eth_createAccessList.",
"properties": {
"deleteStrategy": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"retentionBlocks": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "hex encoded unsigned integer",
"type": "string"
},
"type": {
"enum": [
"window"
],
"type": "string"
}
},
"required": [
"type",
"retentionBlocks"
],
"title": "Sliding window deletion",
"type": "object"
}
],
"title": "Delete strategy"
},
"disabled": {
"type": "boolean"
},
"oldestBlock": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "hex encoded unsigned integer",
"type": "string"
}
},
"required": [
"disabled"
],
"title": "Effective resource capability",
"type": "object"
},
"stateproofs": {
"additionalProperties": false,
"description": "Merkle proofs for account and storage state. Determines the available range for proof generation. Affects: eth_getProof.",
"properties": {
"deleteStrategy": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"retentionBlocks": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "hex encoded unsigned integer",
"type": "string"
},
"type": {
"enum": [
"window"
],
"type": "string"
}
},
"required": [
"type",
"retentionBlocks"
],
"title": "Sliding window deletion",
"type": "object"
}
],
"title": "Delete strategy"
},
"disabled": {
"type": "boolean"
},
"oldestBlock": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "hex encoded unsigned integer",
"type": "string"
}
},
"required": [
"disabled"
],
"title": "Effective resource capability",
"type": "object"
},
"tx": {
"additionalProperties": false,
"description": "Transaction data and lookup indices. Determines the available range for transaction lookups by hash or block position. Affects: eth_getTransactionByHash, eth_getTransactionByBlockHashAndIndex, eth_getTransactionByBlockNumberAndIndex.",
"properties": {
"deleteStrategy": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"retentionBlocks": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "hex encoded unsigned integer",
"type": "string"
},
"type": {
"enum": [
"window"
],
"type": "string"
}
},
"required": [
"type",
"retentionBlocks"
],
"title": "Sliding window deletion",
"type": "object"
}
],
"title": "Delete strategy"
},
"disabled": {
"type": "boolean"
},
"oldestBlock": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "hex encoded unsigned integer",
"type": "string"
}
},
"required": [
"disabled"
],
"title": "Effective resource capability",
"type": "object"
}
},
"required": [
"head",
"state",
"tx",
"logs",
"receipts",
"blocks",
"stateproofs"
],
"title": "Effective routing capabilities",
"type": "object"
}