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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a_id | Yes | ||
| api_key | Yes | ||
| tx_hash | No | ||
| amount_usdc | Yes |