Skip to content
onelayer.
All tools

Tool detail

My usage (wallet-keyed purchase

Returns the paying wallet's own usage history: totals, per-tool and per-chain counts, recent receipts, and any refunds.

Categories: Tool discovery

Use when

  • check my own usage and spend history on Agent402
  • look up recent receipts and settlement tx hashes for a wallet's calls
  • check whether a failed call was refunded

Not for

  • not another wallet's history, scoped to the paying wallet only

Inputs

POST JSON body (all optional): days (number 1-365, default 30), limit (number 1-200, default 50)

Admitted input schema

{
  "type": "object",
  "properties": {
    "days": {
      "type": "number",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Aggregation window in days, 1-365 (default 30). The recent list is always the latest rows regardless."
    },
    "limit": {
      "type": "number",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Max recent receipts to return, 1-200 (default 50)"
    }
  },
  "required": [],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://agent402.tools/api/my-usage

Payment

Protocol
x402
Listed price
0.005 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://agent402.tools/api/my-usage
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z