Build a token launch
hookr_build_launchBuilds a new token's launch as hookr.fun's Launch button does: one pool on HOOKR by default, or on ETH or another reviewed quote (USDG and the rest of the list), with the site's default Hook Blocks and arbitrage recapture, holding the whole supply from the opening price up, so the wallet seeds no quote: buyers bring it. Checked and simulated from the wallet, it returns ok with the launch call (and any notes to show the creator before they sign), needs_approval with an approval to send first and build again with the same salt, or refused or unknown with the reasons and no calls.
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": {
"wallet": "<wallet>",
"name": "<name>",
"symbol": "<symbol>"
},
"name": "hookr_build_launch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The token's name, at most 48 bytes. | |
| salt | No | The salt that fixes the token's address. Pass back the salt a build returned to keep the same token. | |
| lower | No | The range's lower price, in the quote per token, set with upper or in place of both as fullRange; with neither, the pool holds the token alone from the opening price up. | |
| price | No | The opening price: how much of the quote one whole token costs, such as 0.000001 (default: the price that gives the token a $20,000 market cap at the quote's USD price, as hookr.fun's Create sets it). | |
| quote | No | What the pool trades the token against (default HOOKR, as hookr.fun's Create opens a new token; name it whenever you pass price, lower, upper or quoteSeed, which are counted in it): ETH, or a reviewed quote by its symbol or address: WETH, USDG, HOOKR, WTH, NOVAAI, PONS, USDe, CASHCAT, UP, syrupUSDG, AI, BUN, ORBIO, BONER, CHUMP, SIF, U, HOODCHAN, MEME, Index, PIPEDOG, STATICS. | |
| upper | No | The range's upper price, in the quote per token. | |
| blocks | No | Hook Blocks to add at their defaults, comma-separated, by the ids hookr_blocks gives. | |
| preset | No | agent: the terms for a launch an agent kit makes, each one used only where you leave it out (quote ETH, arbitrage recapture on, creatorTaxBps 100, protocolShareBps 4000); it needs integrator, the kit's listed address, and the answer's agentSplit says what the creator, Hookr and the integrator each get of every trade. | |
| supply | No | The token's supply in whole tokens (default 1000000000). | |
| symbol | Yes | The token's ticker, at most 12 bytes. | |
| wallet | Yes | The wallet that signs, pays and creates the token. | |
| logoURI | No | The token's logo, written into the token for good: an ipfs:// address or an https:// image link, at most 300 bytes. Hookr checks it is an image before it builds the launch. | |
| fullRange | No | Seed every price the pool can hold, in place of lower and upper: a full range takes both sides, so pass quoteSeed too. Without it or a range, the pool holds the token alone from the opening price up. | |
| quoteSeed | No | How much of the quote the wallet seeds the pool with, none by default: buyers bring it. It needs a range: lower and upper, or fullRange. | |
| tokenSeed | No | Whole tokens the pool is seeded with, at most the supply (default: the whole supply); the wallet keeps the rest. | |
| integrator | No | Integrator share: the account the pool names as its integrator, which earns the rate the treasury lists it at, up to half, of Hookr's share of the pool's rule fees and, on Hookr's core, of Hookr's share of each arbitrage recapture's profit. It must be on the treasury's integrator list, and the pool freezes the rate when it opens. | |
| arbRecapture | No | Put arbitrage recapture on the pool (default true): the arbitrage profit between this pool and the token's other markets then goes to its LPs, What The Hook and Hookr instead of outside bots. A pool launched without it never gets it. | |
| creatorTaxBps | No | Creator tax: a cut of every buy and every sell, in bps in steps of 10 (200 is 2%, at most 1000), fixed at launch and paid to the launch's owner less Hookr's share of the pool (protocolShareBps, 20% unless set). Off unless set. | |
| integratorBps | No | The rate you expect the treasury lists the integrator at, in bps of Hookr's share (at most 5,000, which is 50%); the launch is refused if the list says otherwise. Needs integrator. | |
| kingOfThePool | No | Turn King of the Pool on, inside arbitrage recapture. Needs lp-rewards or auto-burn in blocks. | |
| agentGateChecks | No | Agent gate, Checks: recipient (a buyer's recipient must be an agent too; the default), uniswapRouter (swaps through the Uniswap router are let in, checked on the wallet that sent them), recipient,uniswapRouter for both, or none. Needs agent-gate in blocks. | |
| agentGateMinAge | No | Agent gate, Age to enter: the seconds a wallet's link on the gate must have stood before it buys or adds, up to 30 days (one hour unless set, 0 for none). Needs agent-gate in blocks. | |
| protocolShareBps | No | Hookr's share of the pool's creator tax and other rule fees, in bps (2000, 20%, unless set), out of which the integrator is paid its rate; a higher share also moves more of the dynamic fee above the base from LPs to Hookr, and a share outside the bounds the pool's Hook Blocks allow is refused with those bounds. | |
| agentGateMinScore | No | Agent gate, Score to enter: the reputation score from the pool's reviewer that buys and adds need (default 0, none). Needs agent-gate in blocks and a reviewer. | |
| agentGateReviewer | No | Agent gate, Reviewer: priors for Priors, whose scores are whole numbers, or a reviewer set id registered on the gate. Needed with a Score to enter or a fee tier, and refused without one. | |
| agentGateTierPips | No | Agent gate, Fee tier surcharge, in pips (10000 is 1%): paid to the pool's LPs by agents below the base-fee score or with no score. At most 50000. | |
| agentGateTierScore | No | Agent gate, Score for the base fee: agents scored at or above it pay the base fee, the rest pay the surcharge. Set it with agentGateTierPips, or neither. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | No | ||
| calls | Yes | Unsigned calls, in the order to send them. | |
| token | No | ||
| launch | No | ||
| reason | No | Why the answer is not ok, in words an agent can act on. | |
| status | Yes | ok, needs_approval with the approvals to send first, refused or unknown. | |
| reasons | No | ||
| agentGate | No | ||
| agentSplit | No | ||
| creatorTax | No | ||
| simulation | No | ||
| arbRecapture | No | ||
| builderCredit | No |