Umbra SDK Docs

getPublicCommissionFeesPoolPda

Umbra SDK reference for Get Public Commission Fees Pool Pda.

client


getPublicCommissionFeesPoolPda(mint, instructionSeed, accountOffset): ProgramDerivedAddress

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

Derives the PDA for the public commission fees pool.

Parameters

mint

MintAddress

SPL token mint address

instructionSeed

U16

Instruction seed identifying the operation

accountOffset

U16

Account offset to distinguish multiple commission pools

Returns

ProgramDerivedAddress

The program-derived address for the public commission fees pool

Throws

PdaGenerationError When PDA derivation fails