prepare_pair_rewards_in_usdc
Choose how an address's holder-pool pair rewards (gold, XAUm, first) arrive. inUsdc=true: each daily payout sells them for USDC in one trade, at no less than the pair's 30-minute average price minus 1% (a worse price pays the pair that day). false: they arrive as the pair token. The choice is one UNSIGNED approval of the pair token to the USDC converter, unlimited (the converter only ever pulls what a payout claim in the same transaction just paid), or its revocation; send it from that address. No step when the address already has that choice.
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": {
"address": "<address>",
"inUsdc": "<inUsdc>"
},
"name": "prepare_pair_rewards_in_usdc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | No | Pair token symbol or address; default the first pair, gold (XAUm) | |
| inUsdc | Yes | true: pair rewards arrive as USDC; false: they arrive as the pair token | |
| address | Yes | The holder wallet; it sends the step |