HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Modulesolana-haskell-sdk-1.3.0.0GHC2021

Network.Solana.SplPrograms.Token

Client for the SPL Token program: https://spl.solana.com/token Instruction data uses SPL Token's hand-rolled pack format (u8 discriminant, little-endian integers, raw 32-byte pubkeys, and optional pubkeys encoded as a 1-byte tag followed by the key when present) — this is NOT bincode.

  • 5 types
  • 29 values
datadata TokenAccount
#
Instances2Eq, Show
  • Eq TokenAccountDefined in solana-haskell-sdk-1.3.0.0 · Network.Solana.SplPrograms.Token
  • Show TokenAccountDefined in solana-haskell-sdk-1.3.0.0 · Network.Solana.SplPrograms.Token
datadata AuthorityType
#

Authorities a token mint or account can carry (SPL AuthorityType, u8 0-3).

Instances6Bounded, Enum, Eq, Show, Generic, Rep
datadata TokenInstruction
#
Instances5Eq, Show, Generic, Binary, Rep

Initialize a multisig account. The signer pubkeys are the full member set; m is the number of required signatures (the Rust SDK validates 1 <= m <= 11 <= length signers client-side; this builder, like the others in this module, performs no client-side validation). # Account references 0. `[WRITE]` Multisig account 1. `[]` Rent sysvar 2..n. `[]` Signer member accounts