The owner public key of the holder account.
The mint public key.
The type of currency (e.g., permissioned or non-permissioned).
Optional
tokenProgram: PublicKeyThe program ID of the SPL Token program (optional, default is TOKEN_PROGRAM_ID).
Optional
programId: PublicKeyThe program ID of the token account program (optional, default is PROGRAM_ID).
An object containing the generated PDA addresses for both the holder account and the token account.
Generated using TypeDoc
Generates both the holder account PDA and the associated token account PDA for a given
owner
,mint
,currencyKind
,tokenProgram
, andprogramId
.