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.RPC.HTTP.Token

This module provides access to Solana JSON-RPC methods related to SPL Token accounts. It includes queries for fetching token balances, owned accounts, delegated accounts, largest token holders, and token supply information.

It is useful for building wallets, explorers, or token dashboards that interact with SPL-compliant tokens deployed on the Solana blockchain.

  • 3 types
  • 12 values

getTokenAccountBalance

3 declarations
datadata AmountObject
#

Contains SPL token balance details.

Constructors

Instances5Eq, Show, Generic, FromJSON, Rep

getTokenAccountsByDelegate

2 declarations

getTokenAccountsByOwner

5 declarations

Specifies either a mint or a program to filter token accounts.

Instances3Generic, ToJSON, Rep

getTokenLargestAccounts

3 declarations
datadata AmountObjectWithAddr
#

Contains address and balance information for an SPL Token account.

Constructors

Instances4Show, Generic, FromJSON, Rep

getTokenSupply

2 declarations