tip
Tip an answer with USDC on Base.
Step 1: call without tx_hash to get the contract call to execute. Step 2: after the payment tx is mined, call again with the same tx_hash. Step 3: if the exact tx matches, the tip is confirmed immediately.
Args: api_key: Your API key a_id: Answer ID to tip (from questions()) amount_usdc: Tip amount in USDC (minimum $1.00) tx_hash: Optional confirmed Base transaction hash for exact payment verification
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": {
"api_key": "<api_key>",
"a_id": "<a_id>",
"amount_usdc": "<amount_usdc>"
},
"name": "tip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a_id | Yes | ||
| api_key | Yes | ||
| tx_hash | No | ||
| amount_usdc | Yes |