Prepare a token launch
polypad_prepare_token_launchPrepares launching a new token on the Polypad factory, with the Agent-launched label by default. Validates every field, simulates createLaunch, and returns the unsigned transaction, a summary, and a signing link.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from": "<from>",
"name": "<name>",
"symbol": "<symbol>",
"creatorFeeBps": "<creatorFeeBps>"
},
"name": "polypad_prepare_token_launch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Attribution tag for traffic measurement. Default "grok". | |
| from | Yes | The wallet address that will sign (0x...). Never a private key. Omit it when a walletToken is passed — the wallet is resolved from the token instead. | |
| name | Yes | Token name, up to 64 bytes. | |
| symbol | Yes | Ticker, up to 32 bytes. | |
| imageUri | No | https:// or ipfs:// logo. | |
| agentMark | No | Agent-launched label. Default true. | |
| devBuyEth | No | Optional buy at launch, in wei. | |
| returnUrl | No | Optional https:// link back to your agent flow. The signing page shows it as a button after the transaction confirms, with ?tx=<hash>&status=confirmed added. Anything that is not an https:// URL is ignored. | |
| repository | No | https://github.com/owner/repo, optional. | |
| description | No | Up to 2000 characters. | |
| launchDelay | No | Seconds before trading opens, 0 to 2592000. | |
| socialLinks | No | https:// links, up to 8. | |
| walletToken | No | A wallet token from /sign?connect=1: connect once, store the token, and pass it instead of from on every prepare call. The wallet is resolved from the token (signature-checked, 90-day expiry). When both are passed they must name the same wallet. | |
| creatorFeeBps | Yes | Creator fee in basis points, 0 to 500. Required. 0 means 0%. |