chainId. Run them on your server unless the endpoint states that third-party browser access is supported.
Discover the active Ink hook
Fetch one token
Fetch recent launches
Batch lookup
List launchable xStocks assets
Read launch state
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: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, validatesLaunchCreated, and handles indexing delay without duplicate submission.