onchain_lookup
PRIMARY lookup tool — use this (not raw RPC) to resolve/describe any on-chain identifier in one call: an EVM address (native + token balances, recent txs, contract metadata + isContract), a contract/token (metadata + deployment + recent transfers), an NFT (collection + tokenId), a tx hash, a subnet ID, a NodeID validator, a P-/X-Chain account (P-…/X-… → P-Chain balance), or a chain name/id. Use this for any address balance / contract-info / token / identity question. kind auto-detects; network is inferred from P-/X-Chain prefixes. Backed by Glacier + P-Chain RPC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Entity kind (default: auto-detect from value) | |
| value | Yes | The identifier: 0x address / 0x tx hash / NodeID-… / subnetId / chain name or id | |
| chainId | No | EVM chain ID for EVM kinds (default: C-Chain for the network) | |
| include | No | Extra data for an address (e.g. ["nfts"]) | |
| network | No | Network (default: mainnet) | |
| tokenId | No | NFT token ID (kind=nft) |