Blockchain Data · x402

Prepare agent ERC-20 deployment

Prepare agent ERC-20 deployment. Prepare an unsigned transaction that deploys an ERC-20 token controlled by an agent wallet.

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 ERC-20 deployment. Prepare an unsigned transaction that deploys an ERC-20 token controlled by an agent wallet.

Tags: bazaar

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/13569.json for the price and payment options.
  3. Pay. Call GET https://api.sandbox.brickken.com/x402/token/create. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with 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

SchemeNetworkAssetAmountPay toTimeout
exactBase Sepolia
eip155:84532
USDC50000x6b0173489007dE9E2e619eccd98E8fa9c610849a300s
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": {
          "agentWallet": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
          "chainId": "84532",
          "executionMode": "client-signed",
          "name": "example",
          "signerAddress": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
          "symbol": "BKNAGENT"
        },
        "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": {
                "agentWallet": {
                  "description": "Wallet that owns and mints the agent token.",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "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"
                },
                "gasLimit": {
                  "description": "Optional explicit gas limit.",
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    }
                  ]
                },
                "name": {
                  "type": "string"
                },
                "nonce": {
                  "description": "Optional explicit nonce when managing nonces manually.",
                  "type": "number"
                },
                "ownerEmail": {
                  "description": "Optional owner attribution email.",
                  "format": "email",
                  "type": "string"
                },
                "premint": {
                  "description": "Human-readable premint amount.",
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    }
                  ]
                },
                "signerAddress": {
                  "description": "Required signer wallet for client-signed and client-broadcast execution.",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "symbol": {
                  "examples": [
                    "BKNAGENT"
                  ],
                  "pattern": "^[A-Z0-9]{2,11}$",
                  "type": "string"
                }
              },
              "required": [
                "chainId",
                "executionMode",
                "name",
                "symbol",
                "agentWallet"
              ],
              "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
null

Examples

curl
curl "https://api.sandbox.brickken.com/x402/token/create"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.sandbox.brickken.com/x402/token/create");
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/create")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.sandbox.brickken.com
Endpoint
https://api.sandbox.brickken.com/x402/token/create
Machine-readable
/resources/13569.json