Mint Agent Token
Prepare an agent-owned ERC-20 mint through x402.
agentMintToken.
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. |
tokenAddress | Yes | Agent token contract address. |
to | Yes | Recipient wallet. |
amount | Yes | Human-readable amount to mint. |
decimals | No | Token decimals used to normalize amount. |
Response
Returns prepared unsigned transactions andtxId. Sign the transaction locally, then submit it with POST /send-transactions.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}$Agent ERC-20 token contract address.
^0x[a-fA-F0-9]{40}$Human-readable token amount.
Recipient wallet address.
^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.
Token decimals. Defaults to 18 when omitted.