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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contract": "<contract>"
},
"name": "octav_get_contract_protocol"
}
}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) |