Spend authority
spend_authorityRead an Arc Mandate box rules and check whether a payee and optional USDC amount are allowed right now. $0.005 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for the terms, sign them with your own wallet, call again with payment.
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": {
"box": "<box>",
"payee": "<payee>"
},
"name": "spend_authority"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | Yes | Mandate box address on Arc (0x...) | |
| payee | Yes | seller address (0x...) | |
| amount | No | optional USDC amount to check | |
| payment | No | a signed x402 payment (the base64 payload you would put in PAYMENT-SIGNATURE). Pass it and the purchase completes inside this tool call. |