Skip to main content

fetch_proof

Function fetch_proof 

Source
pub async fn fetch_proof<R: Rpc + Indexer>(
    rpc: &mut R,
    id: &[u8; 32],
) -> Result<ProofResult, RpcError>
Expand description

Fetches validity proof and packs accounts for a nullifier creation.

Works with any Rpc + Indexer client (LightProgramTest or LightClient).