Constructors
SeedTooLongA seed exceeds 32 bytes
TooManySeedsMore than 16 seeds were provided
InvalidSeedsThe derived hash landed on the ed25519 curve; use another bump/seed
:: a typeCtrl KGHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12
Modulesolana-haskell-sdk-1.3.0.0GHC2021
Program Derived Addresses (PDAs): addresses derived from seeds and a program id that are guaranteed to lie off the ed25519 curve, so no private key can exist for them. Used by programs to sign via CPI and by clients to locate program-owned accounts (e.g. associated token accounts).
SeedTooLongA seed exceeds 32 bytes
TooManySeedsMore than 16 seeds were provided
InvalidSeedsThe derived hash landed on the ed25519 curve; use another bump/seed
Derive a program address from seeds and a program id. Fails with InvalidSeeds if the sha256 result is a valid ed25519 curve point.
Find the first bump seed (255 downto 0) whose derived address is off
the curve, mirroring the Rust SDK's Pubkey::find_program_address.