Signed attestation of an agent's spend (PAID $0.50)
v1_spend_ledger_attestGenerates a signed attestation of an agent's spend ledger, requiring agent_id and optional period/entries, paid via x402 on Base.
Instructions
Signed attestation of an agent's spend (PAID $0.50)
Remote route: POST /v1/spend/ledger/attest (0.50 USD x402/base/usdc on eip155:8453).
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": {
"agent_id": "<agent_id>"
},
"name": "v1_spend_ledger_attest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | ||
| entries | No | ||
| agent_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No |