chainId for your network.
Route: POST /api/external/v1/tokens/create
Headers
| Header | Required | Description |
|---|---|---|
Content-Type | Yes | Must be application/json |
x-magna-api-token | Yes | Your Magna API token |
Body parameters
| Field | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Token ticker symbol (e.g. "USDC") |
chainId | string (uuid) | Yes | Magna chain ID (from GET /chains) |
decimals | number (int, 0–18) | Yes | Number of decimal places (typically 18 for ERC-20) |
address | string | null | No | On-chain contract address; omit/null if not yet deployed |
usdPrice | number | No | Current USD price |
totalSupply | number | No | Total on-chain supply |
logo | string | No | URL to the token logo image |
mintDate | string (ISO 8601) | No | Mint / TGE date |
isNative | boolean | No | Whether this is the chain’s native gas token |