Skip to main content
All InkyPump REST examples include chainId. Run them on your server unless the endpoint states that third-party browser access is supported.

Discover the active Ink hook

Do not replace an existing token’s hook with this value. It is for new native launches.

Fetch one token

Fetch recent launches

Batch lookup

List launchable xStocks assets

The returned asset set can change. Use the exact wrapper, hook, decimals, and raw limits from the selected record.

Read launch state

There is no state.tokensRemaining field. Compute state.saleSupply - state.sold.

Watch the correct Trade event

Read the exact post-bond pool

First match the token’s hook to its deployment. Corrected native hooks and current xStocks hooks expose:
For hookAbi: "ink-legacy", do not call that selector. Require the complete pool_currency0, pool_currency1, pool_fee, pool_tick_spacing, pool_hook, and pool_id fields from the token response. Validate the currency pair, original hook, fee, tick spacing, and computed pool ID as shown in Post-Bond Pool. Do not replace native ETH with WETH, substitute a current hook, or guess a missing legacy field.

Launch a token

Use the complete receipt-safe browser-wallet example in Launchpad Quickstart. It discovers the current hook, simulates the write, validates LaunchCreated, and handles indexing delay without duplicate submission.