getUserAllotedComplianceGrantPda
Umbra SDK reference for Get User Alloted Compliance Grant Pda.
getUserAllotedComplianceGrantPda(
senderPublicKey,destinationPublicKey,nonce):ProgramDerivedAddress
Defined in: src/utils/pda-generators.ts:89
Derives the PDA for a user-allotted compliance grant.
Parameters
senderPublicKey
Sender's Solana address
destinationPublicKey
Destination Solana address
nonce
X25519 nonce associated with the compliance grant
Returns
The program-derived address for the compliance grant
Throws
PdaGenerationError When PDA derivation fails