BRAINIAC Base Chain Data
Paid Base Chain Data API via x402. Unpaid tool calls return 402.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (25)
- LOWen chain-data_gas_estimate
- LOWen chain-data_gas_current
- LOWen chain-data_gas_evm
- LOWen chain-data_network-info
- LOWen chain-data_block_latest
- LOWen chain-data_block_get
- LOWen chain-data_block_transactions
- LOWen chain-data_transaction_receipt
- LOWen chain-data_logs_search
- LOWen chain-data_contract_code
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"chain-data": {
"url": "https://www.brainiac.software/mcp/chain-data"
}
}
}Puntos de conexión remotos
https://www.brainiac.software/mcp/chain-datastreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (19)
🟢chain-data_network-info
Retrieve Base Mainnet chain ID and network information from the public JSON-RPC endpoint. Docs: https://www.brainiac.software/api/chain-data/network-info Keywords: when you need Base chain data, network, latestBlockNumber, source, Get network information, network info, Base Mainnet, Base Chain Data.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"network": {
"type": "object",
"properties": {
"chainId": {
"type": "number",
"description": "chainId. Number."
},
"chainName": {
"type": "string",
"description": "chainName. String."
},
"rpcEndpoint": {
"type": "string",
"description": "rpcEndpoint. String."
}
},
"additionalProperties": {},
"description": "network. Object."
},
"latestBlockNumber": {
"type": "number",
"description": "latestBlockNumber. Number."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"source": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"errors": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "errors. Array."
}
},
"additionalProperties": {},
"description": "source. Object."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_block_latest
Retrieve the latest block information from Base Mainnet using the public JSON-RPC endpoint. Docs: https://www.brainiac.software/api/chain-data/block-latest Keywords: when you need Base chain data, block, chainId, source, Get latest block, latest, Base Mainnet, Base Chain Data.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"block": {
"type": "object",
"properties": {
"number": {
"type": "number",
"description": "number. Number."
},
"hash": {
"type": "string",
"description": "hash. String."
},
"parentHash": {
"type": "string",
"description": "parentHash. String."
},
"timestamp": {
"type": "number",
"description": "timestamp. Number."
},
"transactions": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "transactions. Array."
},
"baseFeePerGas": {
"type": "number",
"description": "baseFeePerGas. Number."
},
"gasLimit": {
"type": "number",
"description": "gasLimit. Number."
},
"gasUsed": {
"type": "number",
"description": "gasUsed. Number."
},
"miner": {
"type": "string",
"description": "miner. String."
},
"difficulty": {
"type": "number",
"description": "difficulty. Number."
},
"extraData": {
"type": "string",
"description": "extraData. String."
},
"logsBloom": {
"type": "string",
"description": "logsBloom. String."
},
"nonce": {
"type": "string",
"description": "nonce. String."
},
"sha3Uncles": {
"type": "string",
"description": "sha3Uncles. String."
},
"stateRoot": {
"type": "string",
"description": "stateRoot. String."
},
"transactionsRoot": {
"type": "string",
"description": "transactionsRoot. String."
},
"receiptsRoot": {
"type": "string",
"description": "receiptsRoot. String."
},
"uncles": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "uncles. Array."
}
},
"additionalProperties": {},
"description": "block. Object."
},
"chainId": {
"type": "number",
"description": "chainId. Number."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"source": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "source. Object."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_block_get(blockNumber, blockHash, fullTransactions)
Retrieve a specific block by number or hash from Base Mainnet. Docs: https://www.brainiac.software/api/chain-data/block-get Keywords: when you need Base chain data, blockNumber, blockHash, fullTransactions, block, chainId, source, Get block by number or hash, get, Base Mainnet.
Esquema de entrada
{
"type": "object",
"properties": {
"blockNumber": {
"description": "blockNumber, integer, from 0 to 9007199254740991. Optional.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"blockHash": {
"description": "blockHash, string. Optional.",
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
"fullTransactions": {
"default": false,
"description": "fullTransactions, boolean. Required.",
"type": "boolean"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"block": {
"type": "object",
"properties": {
"number": {
"type": "number",
"description": "number. Number."
},
"hash": {
"type": "string",
"description": "hash. String."
},
"parentHash": {
"type": "string",
"description": "parentHash. String."
},
"timestamp": {
"type": "number",
"description": "timestamp. Number."
},
"transactions": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "transactions. Array."
},
"baseFeePerGas": {
"type": "number",
"description": "baseFeePerGas. Number."
},
"gasLimit": {
"type": "number",
"description": "gasLimit. Number."
},
"gasUsed": {
"type": "number",
"description": "gasUsed. Number."
},
"miner": {
"type": "string",
"description": "miner. String."
},
"difficulty": {
"type": "number",
"description": "difficulty. Number."
},
"extraData": {
"type": "string",
"description": "extraData. String."
},
"logsBloom": {
"type": "string",
"description": "logsBloom. String."
},
"nonce": {
"type": "string",
"description": "nonce. String."
},
"sha3Uncles": {
"type": "string",
"description": "sha3Uncles. String."
},
"stateRoot": {
"type": "string",
"description": "stateRoot. String."
},
"transactionsRoot": {
"type": "string",
"description": "transactionsRoot. String."
},
"receiptsRoot": {
"type": "string",
"description": "receiptsRoot. String."
},
"uncles": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "uncles. Array."
},
"totalDifficulty": {
"type": "null",
"description": "totalDifficulty. Null."
}
},
"additionalProperties": {},
"description": "block. Object."
},
"chainId": {
"type": "number",
"description": "chainId. Number."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"source": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "source. Object."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_block_transactions(blockNumber, blockHash)
Retrieve all transactions included in a specific block by number or hash from Base Mainnet. Docs: https://www.brainiac.software/api/chain-data/block-transactions Keywords: when you need Base chain data, blockNumber, blockHash, transactions, chainId, source, Get block transactions, Base Mainnet.
Esquema de entrada
{
"type": "object",
"properties": {
"blockNumber": {
"description": "blockNumber, integer, from 0 to 9007199254740991. Optional.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"blockHash": {
"description": "blockHash, string. Optional.",
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"data": {
"type": "object",
"properties": {
"transactions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"hash": {
"type": "string",
"description": "hash. String."
},
"nonce": {
"type": "number",
"description": "nonce. Number."
},
"blockHash": {
"type": "string",
"description": "blockHash. String."
},
"blockNumber": {
"type": "number",
"description": "blockNumber. Number."
},
"transactionIndex": {
"type": "number",
"description": "transactionIndex. Number."
},
"from": {
"type": "string",
"description": "from. String."
},
"to": {
"type": "string",
"description": "to. String."
},
"value": {
"type": "string",
"description": "value. String."
},
"gasPrice": {
"type": "string",
"description": "gasPrice. String."
},
"gas": {
"type": "number",
"description": "gas. Number."
},
"maxFeePerGas": {
"type": "null",
"description": "maxFeePerGas. Null."
},
"maxPriorityFeePerGas": {
"type": "null",
"description": "maxPriorityFeePerGas. Null."
},
"input": {
"type": "string",
"description": "input. String."
},
"type": {
"type": "number",
"description": "type. Number."
},
"chainId": {
"type": "null",
"description": "chainId. Null."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "transactions. Array."
},
"blockHash": {
"type": "string",
"description": "blockHash. String."
},
"blockNumber": {
"type": "number",
"description": "blockNumber. Number."
},
"chainId": {
"type": "number",
"description": "chainId. Number."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"additionalProperties": {},
"description": "data. Object."
},
"nextCursor": {
"type": "null",
"description": "nextCursor. Null."
},
"progress": {
"type": "object",
"properties": {
"processed": {
"type": "number",
"description": "processed. Number."
},
"total": {
"type": "null",
"description": "total. Null."
},
"unit": {
"type": "string",
"description": "unit. String."
},
"scannedRange": {
"type": "null",
"description": "scannedRange. Null."
}
},
"additionalProperties": {},
"description": "progress. Object."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "source. String."
},
"url": {
"type": "string",
"description": "url. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sources. Array."
},
"missing_items": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "missing_items. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_transaction_receipt(txHash)
Retrieve the receipt and status for a specific transaction on Base Mainnet, including logs and gas used. Docs: https://www.brainiac.software/api/chain-data/transaction-receipt Keywords: when you need Base chain data, txHash, receipt, source, Get transaction receipt, Base Mainnet, Base Chain Data, chain data.
Esquema de entrada
{
"type": "object",
"properties": {
"txHash": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$",
"description": "txHash, string. Required."
}
},
"required": [
"txHash"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"data": {
"type": "object",
"properties": {
"receipt": {
"type": "null",
"description": "receipt. Null."
},
"txHash": {
"type": "string",
"description": "txHash. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"additionalProperties": {},
"description": "data. Object."
},
"nextCursor": {
"type": "null",
"description": "nextCursor. Null."
},
"progress": {
"type": "object",
"properties": {
"processed": {
"type": "number",
"description": "processed. Number."
},
"total": {
"type": "null",
"description": "total. Null."
},
"unit": {
"type": "string",
"description": "unit. String."
},
"scannedRange": {
"type": "null",
"description": "scannedRange. Null."
}
},
"additionalProperties": {},
"description": "progress. Object."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "source. String."
},
"url": {
"type": "string",
"description": "url. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sources. Array."
},
"missing_items": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "missing_items. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_logs_search(fromBlock, toBlock, blockHash, address, topics, ...)
Search for contract event logs on Base Mainnet with filters for block range, address, and topics. Docs: https://www.brainiac.software/api/chain-data/logs-search Keywords: when you need Base chain data, fromBlock, toBlock, blockHash, address, topics, limit, logs, source, Search contract event logs, search, Base Mainnet.
Esquema de entrada
{
"type": "object",
"properties": {
"fromBlock": {
"description": "fromBlock, integer, from 0 to 9007199254740991. Optional.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"toBlock": {
"description": "toBlock, integer, from 0 to 9007199254740991. Optional.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"blockHash": {
"description": "blockHash, string. Optional.",
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
},
"address": {
"description": "address, value. Optional.",
"anyOf": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
{
"type": "array",
"items": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
}
}
]
},
"topics": {
"default": [],
"description": "topics, array. Required.",
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^0x[0-9a-fA-F]*$"
},
{
"type": "array",
"items": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]*$"
}
},
{
"type": "null"
}
],
"description": "item, value. Required."
}
},
"limit": {
"default": 1000,
"description": "limit, integer, from 1 to 1000. Required.",
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"cursor": {
"description": "cursor, string, length 1 to 4000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 4000
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"data": {
"type": "object",
"properties": {
"logs": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "logs. Array."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"additionalProperties": {},
"description": "data. Object."
},
"nextCursor": {
"type": "null",
"description": "nextCursor. Null."
},
"progress": {
"type": "object",
"properties": {
"processed": {
"type": "number",
"description": "processed. Number."
},
"total": {
"type": "null",
"description": "total. Null."
},
"unit": {
"type": "string",
"description": "unit. String."
},
"scannedRange": {
"type": "null",
"description": "scannedRange. Null."
}
},
"additionalProperties": {},
"description": "progress. Object."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "source. String."
},
"url": {
"type": "string",
"description": "url. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sources. Array."
},
"missing_items": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "missing_items. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_contract_code(address, blockNumber)
Retrieve the bytecode of a smart contract on Base Mainnet at a specific address and optional block number. Docs: https://www.brainiac.software/api/chain-data/contract-code Keywords: when you need Base chain data, address, blockNumber, code, chainId, source, Get contract bytecode, Base Mainnet.
Esquema de entrada
{
"type": "object",
"properties": {
"address": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "address, string. Required."
},
"blockNumber": {
"description": "blockNumber, integer, from 0 to 9007199254740991. Optional.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"address"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "address. String."
},
"code": {
"type": "string",
"description": "code. String."
},
"chainId": {
"type": "number",
"description": "chainId. Number."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"source": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "source. Object."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_contract_read(address, data, blockNumber)
Execute a read-only call to a smart contract on Base Mainnet using eth_call. Docs: https://www.brainiac.software/api/chain-data/contract-read Keywords: when you need Base chain data, address, data, blockNumber, result, chainId, source, Execute read-only contract call, read, Base Mainnet.
Esquema de entrada
{
"type": "object",
"properties": {
"address": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "address, string. Required."
},
"data": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]*$",
"description": "data, string. Required."
},
"blockNumber": {
"description": "blockNumber, integer, from 0 to 9007199254740991. Optional.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"address",
"data"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "address. String."
},
"data": {
"type": "string",
"description": "data. String."
},
"result": {
"type": "string",
"description": "result. String."
},
"chainId": {
"type": "number",
"description": "chainId. Number."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"source": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "source. Object."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_gas_estimate(from, to, value, data)
Estimate the gas required for a transaction on Base Mainnet using eth_estimateGas. Docs: https://www.brainiac.software/api/chain-data/gas-estimate Keywords: when you need Base chain data, from, value, data, estimate, chainId, source, Estimate gas for transaction, Base Mainnet.
Esquema de entrada
{
"type": "object",
"properties": {
"from": {
"description": "from, string. Optional.",
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"to": {
"description": "to, string. Optional.",
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"value": {
"description": "value, string. Optional.",
"type": "string",
"pattern": "^0x[0-9a-fA-F]+$"
},
"data": {
"description": "data, string. Optional.",
"type": "string",
"pattern": "^0x[0-9a-fA-F]*$"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"estimate": {
"type": "number",
"description": "estimate. Number."
},
"chainId": {
"type": "number",
"description": "chainId. Number."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"source": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "source. Object."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_gas_fee-history(blockCount, newestBlock, rewardPercentiles)
Retrieve the fee history for Base Mainnet blocks, including base fees and reward percentiles. Docs: https://www.brainiac.software/api/chain-data/gas-fee-history Keywords: when you need Base chain data, blockCount, newestBlock, rewardPercentiles, history, chainId, source, Get fee history, fee history, Base Mainnet.
Esquema de entrada
{
"type": "object",
"properties": {
"blockCount": {
"default": 100,
"description": "blockCount, integer, from 1 to 1024. Required.",
"type": "integer",
"minimum": 1,
"maximum": 1024
},
"newestBlock": {
"description": "newestBlock, integer, from 0 to 9007199254740991. Optional.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"rewardPercentiles": {
"default": [
25,
50,
75
],
"description": "rewardPercentiles, array. Required.",
"type": "array",
"items": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "item, number, from 0 to 100. Required."
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"data": {
"type": "object",
"properties": {
"history": {
"type": "object",
"properties": {
"baseFeePerGas": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "baseFeePerGas. Array."
},
"gasUsedRatio": {
"type": "array",
"items": {
"type": "number",
"description": "item. Number."
},
"description": "gasUsedRatio. Array."
},
"oldestBlock": {
"type": "number",
"description": "oldestBlock. Number."
},
"reward": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "item. Array."
},
"description": "reward. Array."
}
},
"additionalProperties": {},
"description": "history. Object."
},
"chainId": {
"type": "number",
"description": "chainId. Number."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"additionalProperties": {},
"description": "data. Object."
},
"nextCursor": {
"type": "null",
"description": "nextCursor. Null."
},
"progress": {
"type": "object",
"properties": {
"processed": {
"type": "number",
"description": "processed. Number."
},
"total": {
"type": "null",
"description": "total. Null."
},
"unit": {
"type": "string",
"description": "unit. String."
},
"scannedRange": {
"type": "null",
"description": "scannedRange. Null."
}
},
"additionalProperties": {},
"description": "progress. Object."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "source. String."
},
"url": {
"type": "string",
"description": "url. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sources. Array."
},
"missing_items": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "missing_items. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_address_native-balance(address, blockNumber)
Retrieve the native ETH balance of a Base Mainnet address from the public JSON-RPC endpoint. Docs: https://www.brainiac.software/api/chain-data/address-native-balance Keywords: when you need Base chain data, address, blockNumber, balance, balanceDecimal, chainId, source, Get native ETH balance, native balance, Base Mainnet.
Esquema de entrada
{
"type": "object",
"properties": {
"address": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "address, string. Required."
},
"blockNumber": {
"description": "blockNumber, integer, from 0 to 9007199254740991. Optional.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"address"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "address. String."
},
"balance": {
"type": "string",
"description": "balance. String."
},
"balanceDecimal": {
"type": "string",
"description": "balanceDecimal. String."
},
"blockNumber": {
"type": "string",
"description": "blockNumber. String."
},
"chainId": {
"type": "number",
"description": "chainId. Number."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"source": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "source. Object."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_token_erc20-balance(walletAddress, tokenAddress, blockNumber)
Retrieve the ERC-20 token balance of a wallet for a specified token contract on Base Mainnet using eth_call. Docs: https://www.brainiac.software/api/chain-data/token-erc20-balance Keywords: when you need Base chain data, walletAddress, tokenAddress, blockNumber, balance, balanceDecimal, chainId, source, Get ERC-20 balance, erc20 balance, Base Mainnet.
Esquema de entrada
{
"type": "object",
"properties": {
"walletAddress": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "walletAddress, string. Required."
},
"tokenAddress": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "tokenAddress, string. Required."
},
"blockNumber": {
"description": "blockNumber, integer, from 0 to 9007199254740991. Optional.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"walletAddress",
"tokenAddress"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"walletAddress": {
"type": "string",
"description": "walletAddress. String."
},
"tokenAddress": {
"type": "string",
"description": "tokenAddress. String."
},
"balance": {
"type": "string",
"description": "balance. String."
},
"balanceDecimal": {
"type": "string",
"description": "balanceDecimal. String."
},
"blockNumber": {
"type": "string",
"description": "blockNumber. String."
},
"chainId": {
"type": "number",
"description": "chainId. Number."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"source": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "source. Object."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_token_erc20-total-supply(tokenAddress, blockNumber)
Retrieve the total supply of an ERC-20 token on Base Mainnet using eth_call. Docs: https://www.brainiac.software/api/chain-data/token-erc20-total-supply Keywords: when you need Base chain data, tokenAddress, blockNumber, totalSupply, totalSupplyDecimal, chainId, source, Get ERC-20 total supply, erc20 total supply, Base Mainnet.
Esquema de entrada
{
"type": "object",
"properties": {
"tokenAddress": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "tokenAddress, string. Required."
},
"blockNumber": {
"description": "blockNumber, integer, from 0 to 9007199254740991. Optional.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"tokenAddress"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"tokenAddress": {
"type": "string",
"description": "tokenAddress. String."
},
"totalSupply": {
"type": "string",
"description": "totalSupply. String."
},
"totalSupplyDecimal": {
"type": "string",
"description": "totalSupplyDecimal. String."
},
"blockNumber": {
"type": "string",
"description": "blockNumber. String."
},
"chainId": {
"type": "number",
"description": "chainId. Number."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"source": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "source. Object."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_token_metadata(tokenAddress, blockNumber)
Retrieve ERC-20 name, symbol, decimals, and total supply for a token on Base Mainnet where supported. Docs: https://www.brainiac.software/api/chain-data/token-metadata Keywords: when you need Base chain data, tokenAddress, blockNumber, name, symbol, decimals, totalSupply, totalSupplyDecimal, chainId, Get token metadata, metadata, Base Mainnet.
Esquema de entrada
{
"type": "object",
"properties": {
"tokenAddress": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "tokenAddress, string. Required."
},
"blockNumber": {
"description": "blockNumber, integer, from 0 to 9007199254740991. Optional.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"tokenAddress"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"tokenAddress": {
"type": "string",
"description": "tokenAddress. String."
},
"name": {
"type": "string",
"description": "name. String."
},
"symbol": {
"type": "string",
"description": "symbol. String."
},
"decimals": {
"type": "number",
"description": "decimals. Number."
},
"totalSupply": {
"type": "string",
"description": "totalSupply. String."
},
"totalSupplyDecimal": {
"type": "string",
"description": "totalSupplyDecimal. String."
},
"blockNumber": {
"type": "string",
"description": "blockNumber. String."
},
"chainId": {
"type": "number",
"description": "chainId. Number."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "source. String."
},
"url": {
"type": "string",
"description": "url. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_token_erc20-transfers(tokenAddress, walletAddress, fromBlock, toBlock, limit, ...)
Retrieve ERC-20 Transfer events for a token contract or wallet on Base Mainnet over a bounded block range. Docs: https://www.brainiac.software/api/chain-data/token-erc20-transfers Keywords: when you need Base chain data, tokenAddress, walletAddress, fromBlock, toBlock, limit, transfers, source, Get ERC-20 transfers, erc20 transfers, Base Mainnet.
Esquema de entrada
{
"type": "object",
"properties": {
"tokenAddress": {
"description": "tokenAddress, string. Optional.",
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"walletAddress": {
"description": "walletAddress, string. Optional.",
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"fromBlock": {
"description": "fromBlock, integer, from 0 to 9007199254740991. Optional.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"toBlock": {
"description": "toBlock, integer, from 0 to 9007199254740991. Optional.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"default": 1000,
"description": "limit, integer, from 1 to 1000. Required.",
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"cursor": {
"description": "cursor, string, length 1 to 4000. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 4000
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"data": {
"type": "object",
"properties": {
"transfers": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "transfers. Array."
},
"fromBlock": {
"type": "number",
"description": "fromBlock. Number."
},
"toBlock": {
"type": "number",
"description": "toBlock. Number."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"additionalProperties": {},
"description": "data. Object."
},
"nextCursor": {
"type": "null",
"description": "nextCursor. Null."
},
"progress": {
"type": "object",
"properties": {
"processed": {
"type": "number",
"description": "processed. Number."
},
"total": {
"type": "null",
"description": "total. Null."
},
"unit": {
"type": "string",
"description": "unit. String."
},
"scannedRange": {
"type": "string",
"description": "scannedRange. String."
}
},
"additionalProperties": {},
"description": "progress. Object."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "source. String."
},
"url": {
"type": "string",
"description": "url. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sources. Array."
},
"missing_items": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "missing_items. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_address_nonce(address, blockNumber)
Retrieve the transaction nonce for a Base Mainnet address from the public JSON-RPC endpoint. Docs: https://www.brainiac.software/api/chain-data/address-nonce Keywords: when you need Base chain data, address, blockNumber, nonce, nonceHex, chainId, source, Get address nonce, Base Mainnet.
Esquema de entrada
{
"type": "object",
"properties": {
"address": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "address, string. Required."
},
"blockNumber": {
"description": "blockNumber, integer, from 0 to 9007199254740991. Optional.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"address"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "address. String."
},
"nonce": {
"type": "number",
"description": "nonce. Number."
},
"nonceHex": {
"type": "string",
"description": "nonceHex. String."
},
"blockNumber": {
"type": "string",
"description": "blockNumber. String."
},
"chainId": {
"type": "number",
"description": "chainId. Number."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"source": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "source. Object."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_gas_current(gasLimit)
Current Base gas fees in gwei (base fee plus slow/standard/fast priority from feeHistory percentiles 10/50/90) with a USD estimate for a simple transfer. Docs: https://www.brainiac.software/api/chain-data/gas-current Keywords: base gas, gas oracle, gas price, gwei, EIP-1559, base fee, priority fee, simple transfer, 21000 gas, USD estimate, ETH/USD, current fees, Base mainnet.
Esquema de entrada
{
"type": "object",
"properties": {
"gasLimit": {
"description": "gasLimit, integer, from 21000 to 30000000. Optional.",
"type": "integer",
"minimum": 21000,
"maximum": 30000000
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"chain": {
"type": "string",
"description": "chain. String."
},
"chainId": {
"type": "number",
"description": "chainId. Number."
},
"asOf": {
"type": "string",
"description": "asOf. String."
},
"baseFeeGwei": {
"type": "string",
"description": "baseFeeGwei. String."
},
"priorityFeeGwei": {
"type": "object",
"properties": {
"slow": {
"type": "string",
"description": "slow. String."
},
"standard": {
"type": "string",
"description": "standard. String."
},
"fast": {
"type": "string",
"description": "fast. String."
}
},
"additionalProperties": {},
"description": "priorityFeeGwei. Object."
},
"gasLimit": {
"type": "number",
"description": "gasLimit. Number."
},
"estimatedFeeEth": {
"type": "string",
"description": "estimatedFeeEth. String."
},
"estimatedFeeUsd": {
"type": "string",
"description": "estimatedFeeUsd. String."
},
"ethUsd": {
"type": "string",
"description": "ethUsd. String."
},
"ethUsdSource": {
"type": "string",
"description": "ethUsdSource. String."
},
"limitation": {
"type": "string",
"description": "limitation. String."
},
"percentiles": {
"type": "object",
"properties": {
"slow": {
"type": "number",
"description": "slow. Number."
},
"standard": {
"type": "number",
"description": "standard. Number."
},
"fast": {
"type": "number",
"description": "fast. Number."
}
},
"additionalProperties": {},
"description": "percentiles. Object."
},
"missing_items": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "missing_items. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_gas_evm(chain, chains, gasLimit)
Current EIP-1559 gas snapshot for Ethereum, Base, Arbitrum, Optimism, and Polygon from public RPC, with Chainlink USD estimates for a simple transfer. Docs: https://www.brainiac.software/api/chain-data/gas-evm Keywords: ethereum gas, evm gas oracle, arbitrum gas, optimism gas, polygon gas, EIP-1559.
Esquema de entrada
{
"type": "object",
"properties": {
"chain": {
"description": "chain, string, one of ethereum, base, arbitrum, optimism, polygon. Optional.",
"type": "string",
"enum": [
"ethereum",
"base",
"arbitrum",
"optimism",
"polygon"
]
},
"chains": {
"description": "chains, array. Optional.",
"type": "array",
"items": {
"type": "string",
"enum": [
"ethereum",
"base",
"arbitrum",
"optimism",
"polygon"
],
"description": "item, string, one of ethereum, base, arbitrum, optimism, polygon. Required."
}
},
"gasLimit": {
"description": "gasLimit, integer, from 21000 to 30000000. Optional.",
"type": "integer",
"minimum": 21000,
"maximum": 30000000
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"asOf": {
"type": "string",
"description": "asOf. String."
},
"chains": {
"type": "array",
"items": {
"type": "object",
"properties": {
"chain": {
"type": "string",
"description": "chain. String."
},
"chainId": {
"type": "number",
"description": "chainId. Number."
},
"baseFeeGwei": {
"type": "string",
"description": "baseFeeGwei. String."
},
"priorityFeeGwei": {
"type": "object",
"properties": {
"slow": {
"type": "string",
"description": "slow. String."
},
"standard": {
"type": "string",
"description": "standard. String."
},
"fast": {
"type": "string",
"description": "fast. String."
}
},
"additionalProperties": {},
"description": "priorityFeeGwei. Object."
},
"gasLimit": {
"type": "number",
"description": "gasLimit. Number."
},
"estimatedFeeNative": {
"type": "string",
"description": "estimatedFeeNative. String."
},
"estimatedFeeUsd": {
"type": "string",
"description": "estimatedFeeUsd. String."
},
"nativeUsd": {
"type": "string",
"description": "nativeUsd. String."
},
"nativeUsdSource": {
"type": "string",
"description": "nativeUsdSource. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "chains. Array."
},
"unavailable": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "unavailable. Array."
},
"limitation": {
"type": "string",
"description": "limitation. String."
},
"missing_items": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "missing_items. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢chain-data_ens_resolve(name, address, system)
Resolve an ENS or Basename to an address, or an address to a forward-confirmed primary name, via official ENS on Ethereum and Basenames on Base. Docs: https://www.brainiac.software/api/chain-data/ens-resolve Keywords: ENS resolve, vitalik.eth, Basename, jesse.base.eth, reverse ENS, primary name.
Esquema de entrada
{
"type": "object",
"properties": {
"name": {
"description": "name, string, length 3 to 255. Optional.",
"type": "string",
"minLength": 3,
"maxLength": 255
},
"address": {
"description": "address, string. Optional.",
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"system": {
"description": "system, string, one of ens, basename. Optional.",
"type": "string",
"enum": [
"ens",
"basename"
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"system": {
"type": "string",
"description": "system. String."
},
"name": {
"type": "string",
"description": "name. String."
},
"address": {
"type": "string",
"description": "address. String."
},
"primaryName": {
"type": "string",
"description": "primaryName. String."
},
"forwardConfirmed": {
"type": "boolean",
"description": "forwardConfirmed. Boolean."
},
"source": {
"type": "string",
"description": "source. String."
},
"asOf": {
"type": "string",
"description": "asOf. String."
},
"missing_items": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "missing_items. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}Comunidad
Evidencia