Solana IDL reference › Drift V2 › SerumV3FulfillmentConfig

SerumV3FulfillmentConfig account layout

Drift V2 account type. Program ID dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH. Data starts with the 8-byte account discriminator, computed with the standard Anchor rule: first 8 bytes of sha256("account:SerumV3FulfillmentConfig").

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

hex 0x41a0c570efa867b9

bytes [65, 160, 197, 112, 239, 168, 103, 185]

base58 Byg67HELd4t

Fields (offsets include the 8-byte discriminator)

FieldTypeOffsetSize
pubkeypubkey832
serumProgramIdpubkey4032
serumMarketpubkey7232
serumRequestQueuepubkey10432
serumEventQueuepubkey13632
serumBidspubkey16832
serumAskspubkey20032
serumBaseVaultpubkey23232
serumQuoteVaultpubkey26432
serumOpenOrderspubkey29632
serumSignerNonceu643288
marketIndexu163362
fulfillmentTypeSpotFulfillmentType3381
statusSpotFulfillmentConfigStatus3391
padding[u8; 4]3404

getProgramAccounts filter

Every SerumV3FulfillmentConfig account starts with the same discriminator, so a memcmp at offset 0 selects this account type. The second filter matches pubkey at offset 8. A dataSize: 344 filter would also work only while live accounts still have the snapshot size; programs often add fields in upgrades, so it is left out here. getProgramAccounts on a large program is heavy; many RPC providers limit or disable it.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getProgramAccounts",
  "params": [
    "dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH",
    {
      "encoding": "base64",
      "filters": [
        {
          "memcmp": {
            "offset": 0,
            "bytes": "Byg67HELd4t"
          }
        },
        {
          "memcmp": {
            "offset": 8,
            "bytes": "<pubkey 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 Drift V2 account types

Drift V2 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.