Blockchain Data · x402
Prepare agent token burn
Prepare agent token burn. Prepare an unsigned transaction that burns an agent ERC-20 token.
by api.sandbox.brickken.com · discovered, not yet claimed by its owner · updated 2026-09-03
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Prepare agent token burn. Prepare an unsigned transaction that burns an agent ERC-20 token.
Tags: bazaar
Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/13566.jsonfor the price and payment options. - Pay. Call
GET https://api.sandbox.brickken.com/x402/token/burn. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base Sepolia, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- see accepts
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base Sepolia
- Calls (30d)
- 1 · 1 unique payers (third-party data from the public x402 Bazaar)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base Sepolia eip155:84532 | USDC | 5000 | 0x6b0173489007dE9E2e619eccd98E8fa9c610849a | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:84532",
"payTo": "0x6b0173489007dE9E2e619eccd98E8fa9c610849a",
"asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"amount": "5000",
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"bazaar": {
"info": {
"input": {
"body": {
"amount": "example",
"chainId": "84532",
"executionMode": "client-signed",
"from": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"signerAddress": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"tokenAddress": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"executionMode": "client-signed",
"transactions": {
"data": "0xaaaaaaaa",
"to": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"value": "0x0"
},
"txId": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": true,
"properties": {
"amount": {
"description": "Human-readable token amount.",
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"chainId": {
"default": "84532",
"description": "Target operation chain ID. This environment allows: 11155111, 84532, 80002.",
"examples": [
"84532",
"11155111",
"80002"
],
"type": "string"
},
"decimals": {
"description": "Token decimals. Defaults to 18 when omitted.",
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"email": {
"description": "Alias for ownerEmail where supported.",
"format": "email",
"type": "string"
},
"executionMode": {
"default": "client-signed",
"description": "Discovery defaults to client-signed so the payable prepare step can be invoked and priced directly. Use brickken-relayed explicitly for Brickken signing and broadcasting, or client-broadcast to sign and broadcast locally. Client-controlled modes charge half at prepare and half at send; client-broadcast confirmation requires both txId and txHash.",
"enum": [
"client-signed",
"client-broadcast",
"brickken-relayed"
],
"type": "string"
},
"from": {
"description": "Wallet address to burn from.",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"gasLimit": {
"description": "Optional explicit gas limit.",
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"nonce": {
"description": "Optional explicit nonce when managing nonces manually.",
"type": "number"
},
"ownerEmail": {
"description": "Optional owner attribution email.",
"format": "email",
"type": "string"
},
"signerAddress": {
"description": "Required signer wallet for client-signed and client-broadcast execution.",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"tokenAddress": {
"description": "Agent ERC-20 token contract address.",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
}
},
"required": [
"chainId",
"executionMode",
"tokenAddress",
"from",
"amount"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Example shape — generated from the schema, not a captured live response
nullExamples
curl
curl "https://api.sandbox.brickken.com/x402/token/burn"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidJavaScript
const res = await fetch("https://api.sandbox.brickken.com/x402/token/burn");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.sandbox.brickken.com/x402/token/burn")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.sandbox.brickken.com
- Endpoint
- https://api.sandbox.brickken.com/x402/token/burn
- Machine-readable
/resources/13566.json