Solana IDL reference › Metaplex Fixed Price Sale › Market

Market account layout

Metaplex Fixed Price Sale account type. Program ID SaLeTjyUa5wXHnGuewUSyJ5JWZaHwz3TxqUntCE9czo. Data starts with the 8-byte account discriminator, computed with the standard Anchor rule: first 8 bytes of sha256("account:Market").

Discriminator (computed with the standard Anchor rule: first 8 bytes of sha256("account:Market"))

hex 0xdbbed53700e3c69a

bytes [219, 190, 213, 55, 0, 227, 198, 154]

base58 dkokXHR3DTw

Fields (offsets include the 8-byte discriminator)

FieldTypeOffsetSize
storepubkey832
sellingResourcepubkey4032
treasuryMintpubkey7232
treasuryHolderpubkey10432
treasuryOwnerpubkey13632
ownerpubkey16832
namestring200varies
descriptionstringvariesvaries
mutableboolvaries1
priceu64varies8
piecesInOneWalletOption<u64>variesvaries
startDateu64varies8
endDateOption<u64>variesvaries
stateMarketStatevaries1
fundsCollectedu64varies8
gatekeeperOption<GatingConfig>variesvaries

getProgramAccounts filter

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getProgramAccounts",
  "params": [
    "SaLeTjyUa5wXHnGuewUSyJ5JWZaHwz3TxqUntCE9czo",
    {
      "encoding": "base64",
      "filters": [
        {
          "memcmp": {
            "offset": 0,
            "bytes": "dkokXHR3DTw"
          }
        },
        {
          "memcmp": {
            "offset": 8,
            "bytes": "<store 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 Metaplex Fixed Price Sale account types

Metaplex Fixed Price Sale 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.