Create Agent Token
Prepare an agent-owned ERC-20 token deployment through x402.
agentCreateToken.
Authentication
Omitx-api-key. If the API returns 402 Payment Required, sign the x402 payment locally and retry with X-Payment.
Key Fields
| Parameter | Required | Description |
|---|---|---|
chainId | Yes | Target chain ID. Decimal and hex values are accepted. |
signerAddress | Yes | Wallet that signs the prepared transaction. |
name | Yes | Token name. |
symbol | Yes | Token symbol. |
agentWallet | Yes | Agent wallet that owns or operates the token. |
premint | No | Optional initial token amount. |
decimals | No | Optional token decimals. |
Response
Returns prepared unsigned transactions andtxId. If executed, use the deployment receipt to recover the deployed tokenAddress.Authorizations
Base64-encoded x402 payment payload. Supported for x402-eligible agentic methods on /x402/... facades, /prepare-transactions, and eligible /send-transactions retries.
Body
Target operation chain ID. Use 8453 on production Base or 11155111 on sandbox Sepolia.
"8453"
Wallet that signs the prepared blockchain transaction.
^0x[a-fA-F0-9]{40}$^[A-Z0-9]{2,11}$Wallet that owns and mints the agent token.
^0x[a-fA-F0-9]{40}$Optional explicit gas limit.
Optional explicit nonce when managing nonces manually.
Optional private RPC URL override.
Optional owner attribution email.
Alias for ownerEmail where supported.
Human-readable premint amount.
Token decimals. Defaults to 18 when omitted.