Block402
Bitcoin + Ethereum RPC for AI agents. 44 tools. x402 required; Base Sepolia test USDC.
我该使用它吗
质量与安全性
发现(47)
- LOW在 ethereum_eth_chainId 中
- LOW在 ethereum_eth_blockNumber 中
- LOW在 ethereum_net_peerCount 中
- LOW在 ethereum_web3_clientVersion 中
- LOW在 ethereum_eth_gasPrice 中
- LOW在 ethereum_eth_maxPriorityFeePerGas 中
- LOW在 ethereum_eth_maxPriorityFeePerGas 中
- LOW在 ethereum_eth_blobBaseFee 中
- LOW在 ethereum_eth_getBlockTransactionCountByNumber 中
- LOW在 ethereum_eth_getBlockTransactionCountByNumber 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"block402": {
"url": "https://api.block402.xyz/mcp"
}
}
}远程端点
https://api.block402.xyz/mcpstreamable-http它能做什么
工具清单
工具(44)
🟢bitcoin_getblockcount(params, idempotencyKey)
Read getblockcount from Bitcoin (bip122:000000000019d6689c085ae165831e93). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 0,
"maxItems": 0,
"items": []
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢bitcoin_getbestblockhash(params, idempotencyKey)
Read getbestblockhash from Bitcoin (bip122:000000000019d6689c085ae165831e93). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 0,
"maxItems": 0,
"items": []
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢bitcoin_getblockhash(params, idempotencyKey)
Read getblockhash from Bitcoin (bip122:000000000019d6689c085ae165831e93). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"type": "integer",
"minimum": 0,
"maximum": 100000000
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢bitcoin_getblockheader(params, idempotencyKey)
Read getblockheader from Bitcoin (bip122:000000000019d6689c085ae165831e93). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"type": "string",
"pattern": "^[0-9a-fA-F]{64}$"
},
{
"type": "boolean"
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢bitcoin_getblock(params, idempotencyKey)
Read getblock from Bitcoin (bip122:000000000019d6689c085ae165831e93). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"type": "string",
"pattern": "^[0-9a-fA-F]{64}$"
},
{
"type": "number",
"enum": [
0,
1
]
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢bitcoin_getrawtransaction(params, idempotencyKey)
Read getrawtransaction from Bitcoin (bip122:000000000019d6689c085ae165831e93). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": [
{
"type": "string",
"pattern": "^[0-9a-fA-F]{64}$"
},
{
"type": "boolean",
"const": false
},
{
"$ref": "#/properties/params/items/0"
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢bitcoin_gettxout(params, idempotencyKey)
Read gettxout from Bitcoin (bip122:000000000019d6689c085ae165831e93). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": [
{
"type": "string",
"pattern": "^[0-9a-fA-F]{64}$"
},
{
"type": "integer",
"minimum": 0,
"maximum": 100000
},
{
"type": "boolean",
"const": false
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_chainId(params, idempotencyKey)
Read eth_chainId from Ethereum (eip155:1). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 0,
"maxItems": 0,
"items": []
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_blockNumber(params, idempotencyKey)
Read eth_blockNumber from Ethereum (eip155:1). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 0,
"maxItems": 0,
"items": []
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_syncing(params, idempotencyKey)
Read eth_syncing from Ethereum (eip155:1). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 0,
"maxItems": 0,
"items": []
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_net_version(params, idempotencyKey)
Read net_version from Ethereum (eip155:1). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 0,
"maxItems": 0,
"items": []
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_net_listening(params, idempotencyKey)
Read net_listening from Ethereum (eip155:1). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 0,
"maxItems": 0,
"items": []
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_net_peerCount(params, idempotencyKey)
Read net_peerCount from Ethereum (eip155:1). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 0,
"maxItems": 0,
"items": []
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_web3_clientVersion(params, idempotencyKey)
Read web3_clientVersion from Ethereum (eip155:1). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 0,
"maxItems": 0,
"items": []
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_gasPrice(params, idempotencyKey)
Read eth_gasPrice from Ethereum (eip155:1). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 0,
"maxItems": 0,
"items": []
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_maxPriorityFeePerGas(params, idempotencyKey)
Read eth_maxPriorityFeePerGas from Ethereum (eip155:1). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 0,
"maxItems": 0,
"items": []
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_blobBaseFee(params, idempotencyKey)
Read eth_blobBaseFee from Ethereum (eip155:1). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 0,
"maxItems": 0,
"items": []
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_web3_sha3(params, idempotencyKey)
Read web3_sha3 from Ethereum (eip155:1). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"type": "string",
"pattern": "^0x([0-9a-fA-F]{2})*$",
"maxLength": 32770
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getBlockTransactionCountByNumber(params, idempotencyKey)
Read eth_getBlockTransactionCountByNumber from Ethereum (eip155:1). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"anyOf": [
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getUncleCountByBlockNumber(params, idempotencyKey)
Read eth_getUncleCountByBlockNumber from Ethereum (eip155:1). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"anyOf": [
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getBlockByNumber(params, idempotencyKey)
Read eth_getBlockByNumber from Ethereum (eip155:1). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"anyOf": [
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
},
{
"type": "boolean"
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getTransactionByBlockNumberAndIndex(params, idempotencyKey)
Read eth_getTransactionByBlockNumberAndIndex from Ethereum (eip155:1). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"anyOf": [
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
},
{
"$ref": "#/properties/params/items/0/anyOf/0"
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getUncleByBlockNumberAndIndex(params, idempotencyKey)
Read eth_getUncleByBlockNumberAndIndex from Ethereum (eip155:1). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"anyOf": [
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
},
{
"$ref": "#/properties/params/items/0/anyOf/0"
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getRawTransactionByBlockNumberAndIndex(params, idempotencyKey)
Read eth_getRawTransactionByBlockNumberAndIndex from Ethereum (eip155:1). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"anyOf": [
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
},
{
"$ref": "#/properties/params/items/0/anyOf/0"
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getBlockTransactionCountByHash(params, idempotencyKey)
Read eth_getBlockTransactionCountByHash from Ethereum (eip155:1). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getUncleCountByBlockHash(params, idempotencyKey)
Read eth_getUncleCountByBlockHash from Ethereum (eip155:1). Costs 0.002500 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getBlockByHash(params, idempotencyKey)
Read eth_getBlockByHash from Ethereum (eip155:1). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
{
"type": "boolean"
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getTransactionByBlockHashAndIndex(params, idempotencyKey)
Read eth_getTransactionByBlockHashAndIndex from Ethereum (eip155:1). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getUncleByBlockHashAndIndex(params, idempotencyKey)
Read eth_getUncleByBlockHashAndIndex from Ethereum (eip155:1). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getRawTransactionByBlockHashAndIndex(params, idempotencyKey)
Read eth_getRawTransactionByBlockHashAndIndex from Ethereum (eip155:1). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getBalance(params, idempotencyKey)
Read eth_getBalance from Ethereum (eip155:1). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"anyOf": [
{
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
}
]
},
{
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"$ref": "#/properties/params/anyOf/0/items/0"
},
{
"anyOf": [
{
"not": {}
},
{
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
},
{
"type": "object",
"properties": {
"blockNumber": {
"$ref": "#/properties/params/anyOf/1/items/1/anyOf/1/anyOf/0/anyOf/0/anyOf/0"
}
},
"required": [
"blockNumber"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"blockHash": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
"requireCanonical": {
"type": "boolean"
}
},
"required": [
"blockHash"
],
"additionalProperties": false
}
]
},
{
"type": "null"
}
]
}
]
}
]
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getTransactionCount(params, idempotencyKey)
Read eth_getTransactionCount from Ethereum (eip155:1). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"anyOf": [
{
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
}
]
},
{
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"$ref": "#/properties/params/anyOf/0/items/0"
},
{
"anyOf": [
{
"not": {}
},
{
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
},
{
"type": "object",
"properties": {
"blockNumber": {
"$ref": "#/properties/params/anyOf/1/items/1/anyOf/1/anyOf/0/anyOf/0/anyOf/0"
}
},
"required": [
"blockNumber"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"blockHash": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
"requireCanonical": {
"type": "boolean"
}
},
"required": [
"blockHash"
],
"additionalProperties": false
}
]
},
{
"type": "null"
}
]
}
]
}
]
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getCode(params, idempotencyKey)
Read eth_getCode from Ethereum (eip155:1). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"anyOf": [
{
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
}
]
},
{
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"$ref": "#/properties/params/anyOf/0/items/0"
},
{
"anyOf": [
{
"not": {}
},
{
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
},
{
"type": "object",
"properties": {
"blockNumber": {
"$ref": "#/properties/params/anyOf/1/items/1/anyOf/1/anyOf/0/anyOf/0/anyOf/0"
}
},
"required": [
"blockNumber"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"blockHash": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
"requireCanonical": {
"type": "boolean"
}
},
"required": [
"blockHash"
],
"additionalProperties": false
}
]
},
{
"type": "null"
}
]
}
]
}
]
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getStorageAt(params, idempotencyKey)
Read eth_getStorageAt from Ethereum (eip155:1). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"anyOf": [
{
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
{
"anyOf": [
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
}
]
}
]
},
{
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": [
{
"$ref": "#/properties/params/anyOf/0/items/0"
},
{
"$ref": "#/properties/params/anyOf/0/items/1"
},
{
"anyOf": [
{
"not": {}
},
{
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"$ref": "#/properties/params/anyOf/0/items/1/anyOf/0"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
},
{
"type": "object",
"properties": {
"blockNumber": {
"$ref": "#/properties/params/anyOf/0/items/1/anyOf/0"
}
},
"required": [
"blockNumber"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"blockHash": {
"$ref": "#/properties/params/anyOf/0/items/1/anyOf/1"
},
"requireCanonical": {
"type": "boolean"
}
},
"required": [
"blockHash"
],
"additionalProperties": false
}
]
},
{
"type": "null"
}
]
}
]
}
]
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getTransactionByHash(params, idempotencyKey)
Read eth_getTransactionByHash from Ethereum (eip155:1). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getTransactionReceipt(params, idempotencyKey)
Read eth_getTransactionReceipt from Ethereum (eip155:1). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getRawTransactionByHash(params, idempotencyKey)
Read eth_getRawTransactionByHash from Ethereum (eip155:1). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_feeHistory(params, idempotencyKey)
Read eth_feeHistory from Ethereum (eip155:1). Costs 0.005000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"anyOf": [
{
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
{
"anyOf": [
{
"$ref": "#/properties/params/anyOf/0/items/0"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
}
]
},
{
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": [
{
"$ref": "#/properties/params/anyOf/0/items/0"
},
{
"$ref": "#/properties/params/anyOf/0/items/1"
},
{
"type": "array",
"items": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"maxItems": 20
}
]
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_call(params, idempotencyKey)
Read eth_call from Ethereum (eip155:1). Costs 0.010000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"anyOf": [
{
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"type": "object",
"properties": {
"from": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"to": {
"anyOf": [
{
"$ref": "#/properties/params/anyOf/0/items/0/properties/from"
},
{
"type": "null"
}
]
},
"gas": {
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
"value": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"nonce": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"gasPrice": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"maxFeePerGas": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"maxPriorityFeePerGas": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"data": {
"type": "string",
"pattern": "^0x([0-9a-fA-F]{2})*$",
"maxLength": 32770
},
"input": {
"type": "string",
"pattern": "^0x([0-9a-fA-F]{2})*$",
"maxLength": 32770
},
"accessList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/from"
},
"storageKeys": {
"type": "array",
"items": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
"maxItems": 256
}
},
"required": [
"address",
"storageKeys"
],
"additionalProperties": false
},
"maxItems": 64
},
"chainId": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"maxFeePerBlobGas": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"blobVersionedHashes": {
"type": "array",
"items": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/accessList/items/properties/storageKeys/items"
},
"maxItems": 16
},
"authorizationList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"chainId": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"address": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/from"
},
"nonce": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"yParity": {
"type": "string",
"enum": [
"0x0",
"0x1"
]
},
"r": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"s": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
}
},
"required": [
"chainId",
"address",
"nonce",
"yParity",
"r",
"s"
],
"additionalProperties": false
},
"maxItems": 16
}
},
"additionalProperties": false
}
]
},
{
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"$ref": "#/properties/params/anyOf/0/items/0"
},
{
"anyOf": [
{
"not": {}
},
{
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
},
{
"type": "object",
"properties": {
"blockNumber": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
}
},
"required": [
"blockNumber"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"blockHash": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/accessList/items/properties/storageKeys/items"
},
"requireCanonical": {
"type": "boolean"
}
},
"required": [
"blockHash"
],
"additionalProperties": false
}
]
},
{
"type": "null"
}
]
}
]
}
]
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_estimateGas(params, idempotencyKey)
Read eth_estimateGas from Ethereum (eip155:1). Costs 0.010000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"anyOf": [
{
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"type": "object",
"properties": {
"from": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"to": {
"anyOf": [
{
"$ref": "#/properties/params/anyOf/0/items/0/properties/from"
},
{
"type": "null"
}
]
},
"gas": {
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
"value": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"nonce": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"gasPrice": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"maxFeePerGas": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"maxPriorityFeePerGas": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"data": {
"type": "string",
"pattern": "^0x([0-9a-fA-F]{2})*$",
"maxLength": 32770
},
"input": {
"type": "string",
"pattern": "^0x([0-9a-fA-F]{2})*$",
"maxLength": 32770
},
"accessList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/from"
},
"storageKeys": {
"type": "array",
"items": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
"maxItems": 256
}
},
"required": [
"address",
"storageKeys"
],
"additionalProperties": false
},
"maxItems": 64
},
"chainId": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"maxFeePerBlobGas": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"blobVersionedHashes": {
"type": "array",
"items": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/accessList/items/properties/storageKeys/items"
},
"maxItems": 16
},
"authorizationList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"chainId": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"address": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/from"
},
"nonce": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"yParity": {
"type": "string",
"enum": [
"0x0",
"0x1"
]
},
"r": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"s": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
}
},
"required": [
"chainId",
"address",
"nonce",
"yParity",
"r",
"s"
],
"additionalProperties": false
},
"maxItems": 16
}
},
"additionalProperties": false
}
]
},
{
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"$ref": "#/properties/params/anyOf/0/items/0"
},
{
"anyOf": [
{
"not": {}
},
{
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
},
{
"type": "object",
"properties": {
"blockNumber": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
}
},
"required": [
"blockNumber"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"blockHash": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/accessList/items/properties/storageKeys/items"
},
"requireCanonical": {
"type": "boolean"
}
},
"required": [
"blockHash"
],
"additionalProperties": false
}
]
},
{
"type": "null"
}
]
}
]
}
]
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_createAccessList(params, idempotencyKey)
Read eth_createAccessList from Ethereum (eip155:1). Costs 0.010000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"anyOf": [
{
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"type": "object",
"properties": {
"from": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"to": {
"anyOf": [
{
"$ref": "#/properties/params/anyOf/0/items/0/properties/from"
},
{
"type": "null"
}
]
},
"gas": {
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
"value": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"nonce": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"gasPrice": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"maxFeePerGas": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"maxPriorityFeePerGas": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"data": {
"type": "string",
"pattern": "^0x([0-9a-fA-F]{2})*$",
"maxLength": 32770
},
"input": {
"type": "string",
"pattern": "^0x([0-9a-fA-F]{2})*$",
"maxLength": 32770
},
"accessList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/from"
},
"storageKeys": {
"type": "array",
"items": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
"maxItems": 256
}
},
"required": [
"address",
"storageKeys"
],
"additionalProperties": false
},
"maxItems": 64
},
"chainId": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"maxFeePerBlobGas": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"blobVersionedHashes": {
"type": "array",
"items": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/accessList/items/properties/storageKeys/items"
},
"maxItems": 16
},
"authorizationList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"chainId": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"address": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/from"
},
"nonce": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"yParity": {
"type": "string",
"enum": [
"0x0",
"0x1"
]
},
"r": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
"s": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
}
},
"required": [
"chainId",
"address",
"nonce",
"yParity",
"r",
"s"
],
"additionalProperties": false
},
"maxItems": 16
}
},
"additionalProperties": false
}
]
},
{
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"$ref": "#/properties/params/anyOf/0/items/0"
},
{
"anyOf": [
{
"not": {}
},
{
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
},
{
"type": "object",
"properties": {
"blockNumber": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/gas"
}
},
"required": [
"blockNumber"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"blockHash": {
"$ref": "#/properties/params/anyOf/0/items/0/properties/accessList/items/properties/storageKeys/items"
},
"requireCanonical": {
"type": "boolean"
}
},
"required": [
"blockHash"
],
"additionalProperties": false
}
]
},
{
"type": "null"
}
]
}
]
}
]
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getProof(params, idempotencyKey)
Read eth_getProof from Ethereum (eip155:1). Costs 0.010000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"anyOf": [
{
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
}
]
},
"maxItems": 64
}
]
},
{
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": [
{
"$ref": "#/properties/params/anyOf/0/items/0"
},
{
"$ref": "#/properties/params/anyOf/0/items/1"
},
{
"anyOf": [
{
"not": {}
},
{
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"$ref": "#/properties/params/anyOf/0/items/1/items/anyOf/0"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
},
{
"type": "object",
"properties": {
"blockNumber": {
"$ref": "#/properties/params/anyOf/0/items/1/items/anyOf/0"
}
},
"required": [
"blockNumber"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"blockHash": {
"$ref": "#/properties/params/anyOf/0/items/1/items/anyOf/1"
},
"requireCanonical": {
"type": "boolean"
}
},
"required": [
"blockHash"
],
"additionalProperties": false
}
]
},
{
"type": "null"
}
]
}
]
}
]
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getLogs(params, idempotencyKey)
Read eth_getLogs from Ethereum (eip155:1). Costs 0.010000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"type": "object",
"properties": {
"blockHash": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
"fromBlock": {
"anyOf": [
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
},
"toBlock": {
"$ref": "#/properties/params/items/0/properties/fromBlock"
},
"address": {
"anyOf": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
{
"type": "array",
"items": {
"$ref": "#/properties/params/items/0/properties/address/anyOf/0"
},
"maxItems": 64
}
]
},
"topics": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/properties/params/items/0/properties/blockHash"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/properties/params/items/0/properties/blockHash"
},
{
"type": "null"
}
]
},
"maxItems": 64
}
]
},
"maxItems": 4
}
},
"additionalProperties": false
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ethereum_eth_getBlockReceipts(params, idempotencyKey)
Read eth_getBlockReceipts from Ethereum (eip155:1). Costs 0.010000 USDC on Base mainnet (eip155:8453). Preserve the private idempotencyKey for retries.
输入模式
{
"type": "object",
"properties": {
"params": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string",
"pattern": "^0x(0|[1-9a-fA-F][0-9a-fA-F]{0,63})$"
},
{
"type": "string",
"enum": [
"latest",
"safe",
"finalized",
"earliest",
"pending"
]
}
]
},
{
"type": "object",
"properties": {
"blockNumber": {
"$ref": "#/properties/params/items/0/anyOf/0/anyOf/0/anyOf/0"
}
},
"required": [
"blockNumber"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"blockHash": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
"requireCanonical": {
"type": "boolean"
}
},
"required": [
"blockHash"
],
"additionalProperties": false
}
]
},
{
"$ref": "#/properties/params/items/0/anyOf/0/anyOf/2/properties/blockHash"
}
]
}
]
},
"idempotencyKey": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it."
}
},
"required": [
"params",
"idempotencyKey"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据