Associated Token Account program address.
Modulesolana-haskell-sdk-1.3.0.0GHC2021
Network.Solana.SplPrograms.AssociatedTokenAccount
Client for the Associated Token Account (ATA) program: derives the canonical token account address for a (wallet, mint) pair and builds create instructions. https://spl.solana.com/associated-token-account
- 1 type
- 6 values
- Packagesolana-haskell-sdk-1.3.0.0
- Exports7
- LanguageGHC2021
- LicenceApache-2.0
- SourceAssociatedTokenAccount.hs
System program reference (re-exported for account-meta lists).
ATA instruction data: a single borsh discriminant byte.
Instances3Eq, Show, Binary
Eq AtaInstructionDefined in solana-haskell-sdk-1.3.0.0 · Network.Solana.SplPrograms.AssociatedTokenAccountShow AtaInstructionDefined in solana-haskell-sdk-1.3.0.0 · Network.Solana.SplPrograms.AssociatedTokenAccountBinary AtaInstructionDefined in solana-haskell-sdk-1.3.0.0 · Network.Solana.SplPrograms.AssociatedTokenAccount
Derive the associated token account address for a wallet and mint: the PDA of [wallet, token program, mint] under the ATA program.
Create the associated token account for (wallet, mint), paid by the funder. Fails the transaction if it already exists.
Like createAssociatedTokenAccount but succeeds (no-op) if the account already exists.