services
Get a key

library / AI and blockchain

Swap assistants

Swap assistants in the Carbium Library: 5 working Solana examples, among them Token symbol to mint resolver, Swap preflight checks and Fake-pool route check.

  • Token symbol to mint resolver SI0063

    Turn a typed symbol or address into one verified mint from a pinned list, check it on chain, and print its price from Carbium beside it.

  • Swap preflight checks SI0062

    A read-only preflight that lists a wallet's token accounts for the input mint, checks SOL and a quote, and says why a swap would fail.

  • Fake-pool route check SI0041

    Check the token mints on a swap route before you sign: known, look-alike or unknown, with authorities and extensions from one account read.

  • Swap price-impact explainer SI0040

    Read a token's latest swaps from its address and compute each one's price impact against the pool's own reserves before the swap.

  • Swap transaction decoder SI0012

    Identify a swap from a signature or address and read its details: assets in and out, fee, slot and programs, from balance changes.