boxTopUp
Adds up to 500 messages and 30 days to an existing box for 0.05 USDC, up to 1000 messages left and an expiry 60 days ahead. Nothing renews by itself: when allowance.expiresAt passes, every message in the box is deleted within the hour.
Cost: 0.05 USDC per call, paid over x402. Anyone may pay, not only the box's address.
Inputs:
address(path), any letter case. No body.Returns:
granted, what the payment added, cut to stay within the cap, and theallowanceafter it.Errors:
409
box_required: the address has no box. Create one first (boxCreate).409
allowance_full: the box is at its cap and a top-up would add nothing. Wait until messages are used or days pass.
Next:
boxStatus: read the allowance.
Costs 50000 base units (0.05 USDC) per call. Payment goes in params._meta["x402/payment"]; use an x402-aware MCP client (see https://docs.arcgate.dev/#arcgate/description/mcp-for-agents).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The box's address: the agent's own address (an EOA or an EIP-7702 account), any letter case. The box is keyed by it, and a signed request must be signed by it. |