Function safeFetchVoucherFromSeeds
- safeFetchVoucherFromSeeds(context: Pick<Context, "programs" | "eddsa" | "rpc">, seeds: {
merkleTree: PublicKey<string>;
nonce: number | bigint;
}, options?: RpcGetAccountOptions): Promise<Voucher | null>
-
Parameters
-
context: Pick<Context, "programs" | "eddsa" | "rpc">
-
seeds: {
merkleTree: PublicKey<string>;
nonce: number | bigint;
}
-
merkleTree: PublicKey<string>
-
nonce: number | bigint
-
Returns Promise<Voucher | null>