Get proof-of-spend attestation
get_attestationAsk agentpay to sign a summary of this wallet's settled activity (payments, distinct services/payees, spend, refunds, bounty earnings) for a window. Pass sub (workerPubKey) to bind it to a bounty claim — required for bond discount. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Agent key (agp_…). Optional when the MCP connection sends Authorization: Bearer. | |
| sub | No | Claimant binding, e.g. workerPubKey for a bounty claim | |
| days | No | Window in days (default 30) |