Solana IDL reference › TON Whales Holders › Card

Card account layout

TON Whales Holders account type. Program ID 6bES2dKy1ee13HQ4uW4ycw4Kw4od9ziZeWMyAxVySYEd. Data starts with the 8-byte account discriminator, published in the IDL.

Discriminator (published in the IDL)

hex 0xa6fa2ee6983f8cb6

bytes [166, 250, 46, 230, 152, 63, 140, 182]

base58 UvtYoBnx3k9

Fields (offsets include the 8-byte discriminator)

FieldTypeOffsetSize
bumpu881
authoritypubkey932
token_accountpubkey4132
seed[u8; 32]7332
seqnou321054
last_state_ati641098
transferred_au641178
transferred_bu641258
deposited_au641338
deposited_bu641418
withdrawn_au641498
withdrawn_bu641578
statusCardStatus1651
deadlinei641668
tz_offsetTzOffset1744
valuei321744
limitsLimits178varies

getProgramAccounts filter

Every Card account starts with the same discriminator, so a memcmp at offset 0 selects this account type. The second filter matches authority at offset 9. getProgramAccounts on a large program is heavy; many RPC providers limit or disable it.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getProgramAccounts",
  "params": [
    "6bES2dKy1ee13HQ4uW4ycw4Kw4od9ziZeWMyAxVySYEd",
    {
      "encoding": "base64",
      "filters": [
        {
          "memcmp": {
            "offset": 0,
            "bytes": "UvtYoBnx3k9"
          }
        },
        {
          "memcmp": {
            "offset": 9,
            "bytes": "<authority as base58>"
          }
        }
      ]
    }
  ]
}

Decode account data

Decoding runs on Rugsight's server against the bundled snapshot. Nothing is fetched from the chain. Paste public account data only; never paste a private key or seed phrase.

Other TON Whales Holders account types

TON Whales Holders instructions · Explain a transaction

Data: solana-idls@1.2.1 (MIT, © Obsidian Protocol) and SPL Token / Token-2022 state layouts (Apache-2.0), snapshot 2026-11-17. Programs can upgrade and an IDL snapshot can lag the deployed program, so check important offsets against current account data.