Docs

eth_getLogs - Bittensor RPC Method

Query event logs on Bittensor. Essential for indexing decentralized AI inference, subnet-specific AI models, TAO staking, and cross-subnet AI collaboration on the decentralized machine intelligence network built around subnets, TAO staking, and validator-miner coordination.

Returns an array of all logs matching a given filter object on Bittensor.

Why Bittensor? Build on the decentralized machine intelligence network built around subnets, TAO staking, and validator-miner coordination with Yuma Consensus, subnet-based specialization, dual Substrate and EVM surfaces, and onchain incentive coordination.

Use Cases

The eth_getLogs method is essential for:

  • Event indexing - Track contract events for decentralized AI inference, subnet-specific AI models, TAO staking, and cross-subnet AI collaboration
  • Token transfers - Monitor ERC20/ERC721 transfers
  • DeFi analytics - Track swaps, liquidity events, and more
  • Notification systems - Alert on specific on-chain events

Code Examples

Error Handling

Error CodeMessageDescription
-32005Query returned more than 10000 resultsReduce block range
-32602Invalid paramsInvalid filter parameters