Skip to main content

build_instruction

Function build_instruction 

Source
pub fn build_instruction(
    payer: Pubkey,
    id: [u8; 32],
    proof_result: ProofResult,
) -> Instruction
Expand description

Builds the create_nullifier instruction from proof data.

This is sync and requires no RPC calls.