Programming Model
Instruction Handler
📖O que é
The specific function within a program that processes a particular instruction variant. In native Solana programs, the entrypoint dispatches to different handler functions based on instruction data. In Anchor, each pub fn in the #[program] module is an instruction handler that is automatically routed to via the 8-byte discriminator prefix in the instruction data.
Sua exploração
0 termos visitados no totalTermos relacionados explorados0/3
Termos Relacionados
InstruçãoProgramming Model
A single operation within a transaction that invokes a program. An instruction specifies: …
Ver termo →EntrypointProgramming Model
The function that the Solana runtime calls when a program is invoked. Native programs use …
Ver termo →DiscriminadorProgramming Model
An 8-byte identifier prepended to account data and instruction data to distinguish types. …
Ver termo →