Umbra SDK Docs

getUserAllotedComplianceGrantPda

Umbra SDK reference for Get User Alloted Compliance Grant Pda.

client


getUserAllotedComplianceGrantPda(senderPublicKey, destinationPublicKey, nonce): ProgramDerivedAddress

Defined in: src/utils/pda-generators.ts:89

Derives the PDA for a user-allotted compliance grant.

Parameters

senderPublicKey

SolanaAddress

Sender's Solana address

destinationPublicKey

SolanaAddress

Destination Solana address

nonce

U128

X25519 nonce associated with the compliance grant

Returns

ProgramDerivedAddress

The program-derived address for the compliance grant

Throws

PdaGenerationError When PDA derivation fails