Skip to content

​In short

A transaction is a signed request to change the shared ledger. It either fully happens or doesn’t happen at all, and once confirmed anyone can look it up. A transaction holds one or more instructions, the signatures that authorize them, and a recent blockhash. Its instructions run together: if any fails, the whole transaction fails and every change is reverted.
A transaction holds one or more instructions, and they succeed or fail together.A transaction holds one or more instructions, and they succeed or fail together.
A transaction holds one or more instructions, and they succeed or fail together.

​Signatures

Every transaction is signed by the wallets it spends from. The first signature doubles as the transaction’s ID, which is what your code gets back and looks up later. Each required signer approves the whole transaction, and the network verifies every signature before it runs any instruction. See Wallets & signatures for how keys and signing work.

​Key facts

  • Atomic execution: All instructions succeed or all revert. Fees are still charged on failure.
  • Size limit: 1,232 bytes maximum, derived from the IPv6 minimum MTU (1,280 bytes) minus 48 bytes for network headers. The v1 format raises this to 4,096 bytes.
  • Signatures: Each signer provides one 64-byte Ed25519 signature.
  • Blockhash expiry: A transaction’s recent blockhash is valid for 150 blocks, about 30 seconds at 200ms slots.

​Limits

LimitValueSource
Max transaction size1,232 bytesPACKET_DATA_SIZE
Max accounts per transaction64 (96 for v1 with SIMD-0596)Enforced limit
Blockhash expiry150 slotsMAX_PROCESSING_AGE
Signature size64 bytes (Ed25519)—
Base fee per signature5,000 lamportsFees
Max executed instructions64 (top-level + CPIs)MAX_INSTRUCTION_TRACE_LENGTH
Max signatures per packet12MAX_SIGNATURES_PER_PACKET