chapters· For builders☰
11 · Use it

For builders

Terminals, bots and anyone reading Flisk coins.

Finding a Flisk coin

A Pump.fun coin is a Flisk coin when its creator equals the reserve address derived from ["reserve", mint] under the Flisk program id.

Reading the reserve

read · no transaction needed
reserve = pda(["reserve", mint], FLISK) reserveAta = ata(reserve, SPYX, TOKEN_2022) floor = rawBalance(reserveAta) / rawSupply(mint) // both raw units
⚠ use raw units
SPYx has a display multiplier set by its issuer (ScaledUiAmount). Do all math on raw balances and apply the multiplier only when showing a number.

Redeeming from your own app

Put the two Pump.fun collect calls before redeem in the same transaction so the user is paid from the full reserve.