Solana instructions › System Program › CreateAccount

CreateAccount

System Program instruction. Program ID 11111111111111111111111111111111. Position in this snapshot: 0.

Discriminator or tag: 0x00000000 — 4-byte little-endian instruction index, as published for this program.

What it does

Creates a new account, funds it with lamports, allocates data space and assigns an owner program, in one instruction.

The first 4 bytes are 0 (0x00000000). The new account's keypair must sign.

From the IDL

Creates a new account funded by the first account, with the given data size and owner program.

Accounts

#AccountRole
0fundingwritable, signer
1newAccountwritable, signer

Arguments

ArgumentType
lamportsu64
spaceu64
ownerpubkey

Other System Program instructions

To see which instructions a confirmed transaction actually ran, paste its signature into the Rugsight transaction explainer.

Instruction lists and published discriminators come from solana-idls@1.2.1 (MIT) and, for the System Program, Compute Budget and Associated Token Account programs, from their public instruction enums (Apache-2.0). Snapshot date 2026-11-17. Programs can upgrade, so a live program may differ from this snapshot. Computed Anchor discriminators are the first 8 bytes of sha256("global:<snake_case_name>") and are labelled as computed.