Account Overview
The four on-chain account types used by IronQ
IronQ uses 4 account types plus a PDA-owned SPL token vault:
| Account | Seeds | Size | Purpose |
|---|---|---|---|
| QueueConfig | ["queue", authority] | 205 bytes | Central configuration |
| Job | ["job", queue, job_id] | 186 bytes | Single unit of work |
| Worker | ["worker", queue, wallet] | 122 bytes | Worker registration |
| JobResult | ["result", job] | 118 bytes | Submitted result |
| Vault (SPL Token) | ["vault", queue] | — | PDA-owned token account holding stakes + rewards |
All accounts are PDAs — given the seeds, anyone can derive the address without a lookup table.
The vault is a standard SPL token account whose authority is the vault PDA itself. This makes it self-custodial: no admin key can drain funds outside the defined instruction set.