Get Contract Protocol
octav_get_contract_protocolIdentify the DeFi protocol behind a contract address, such as an approval spender or transaction counterparty. Provide a chain for one result or omit it to check all supported chains.
Instructions
Identify the DeFi protocol a contract address belongs to, such as a spender from octav_get_approvals or a transaction counterparty. With a chain it returns { protocol }; without one it returns { protocols } for every chain the address is known on. Costs 5 credits, refunded if no protocol is found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain key (e.g., ethereum, base). Omit to search every chain. | |
| contract | Yes | Contract address (EVM: 0x... or Solana base58) |