Blockchain
knowledge skill
Query a blockchain node for on-chain data and return raw transaction or block records. Produces a JSON array of blockchain objects matching the requested parameters.
Worked examples
- {"input": {"network": "ethereum", "query_type": "transaction", "identifier": "0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be8638f542e80e0"}, "output": {"data": [{"hash": "0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be8638f542e80e0", "blockNumber": "19200000", "from": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb", "to": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", "value": "1000000000000000000"}], "network": "ethereum", "timestamp": "2023-10-15T12:34:56Z"}}
- {"input": {"network": "polygon", "query_type": "block", "identifier": "42000000"}, "output": {"data": [{"number": "42000000", "hash": "0x1234...abcd", "transactions": ["0x1111...", "0x2222..."], "timestamp": "1697424000"}], "network": "polygon", "timestamp": "2023-10-16T08:00:00Z"}}
Input
- network: string (mainnet, sepolia, polygon, etc.)
- query_type: string (transaction, block, address, log)
- identifier: string (tx hash, block number, address, or topic filter)
Output
- data: array of objects (raw blockchain records)
- network: string (network name)
- timestamp: string (ISO 8601)
Details
- Skill type: knowledge skill
- Safety level: safe_public_research
- Version: 1.0.0