Skip to main content

Module instruction

Module instruction 

Source
Expand description

CPI instruction types: InstructionView, InstructionAccount, Seed, Signer.

These types match the Solana runtime’s C ABI for cross-program invocation. Wire-compatible with pinocchio/solana-instruction-view types.

Structs§

CpiAccount
C-ABI account info passed to sol_invoke_signed_c.
InstructionAccount
Metadata for an account referenced in a CPI instruction.
InstructionView
A cross-program instruction to invoke.
Seed
A single PDA seed for CPI signing.
Signer
A PDA signer: a set of seeds that derive the signing PDA.