Solana IDL reference › TON Whales Holders › Root

Root 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 0x2e9f8325f5540509

bytes [46, 159, 131, 37, 245, 84, 5, 9]

base58 8oJYMP6a21n

Fields (offsets include the 8-byte discriminator)

FieldTypeOffsetSize
bumpu881
seed[u8; 32]932
ownerpubkey4132
controllerpubkey7332
token_mintpubkey10532
graceful_periodi641378
treasure_authoritypubkey14532
treasure_token_accountpubkey17732
whitelistVec<pubkey>209varies
support_authorityOption<pubkey>variesvaries

getProgramAccounts filter

Every Root account starts with the same discriminator, so a memcmp at offset 0 selects this account type. The second filter matches owner at offset 41. 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": "8oJYMP6a21n"
          }
        },
        {
          "memcmp": {
            "offset": 41,
            "bytes": "<owner 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.