services
Get a key

library / How to use Solana

Versioned transactions and lookup tables

Versioned transactions and lookup tables in the Carbium Library: 8 working Solana examples, among them Deactivated lookup table check.

  • Deactivated lookup table check HS0109

    Check whether the lookup tables a Solana transaction names are missing, deactivated or past cooldown, with one read-only TypeScript file that settles each read.

  • Static vs looked-up account keys HS0107

    See why a v0 transaction keeps every instruction's program id in its static keys even with a lookup table, and print the split from real transactions.

  • Lookup table capacity check HS0104

    Read an address lookup table and see how many of its 256 slots are used, how many are free and whether it can still be extended.

  • Lookup table usage finder HS0103

    Find which pubkeys recent transactions pull from an address lookup table, with write access and use counts, in one read-only TypeScript file.

  • Versioned transaction round-trip HS0061

    Fetch a transaction as base64, decode it with kit, encode it again and compare the bytes, so a versioned transaction passes between services unchanged.

  • Recent slot check for lookup tables HS0060

    Fix 'is not a recent slot' when creating a lookup table: a read-only TypeScript file checks a slot against the SlotHashes sysvar on Carbium.

  • Lookup table contents reader HS0032

    Read a Solana address lookup table: decode its authority, deactivation slot and stored addresses from account data in one read-only TypeScript file.

  • Transaction version error -32015 HS0012

    Fix JSON-RPC error -32015, Transaction version not supported, by setting maxSupportedTransactionVersion to 1 on getTransaction and getBlock calls.