HORIZON HASKELLDocslts/ghc-9.14.x99ffbb82026-10-19Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 99ffbb8 · 2026-10-19

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.

Contents
  1. getTokenAccountBalance
  2. getTokenAccountsByDelegate
  3. getTokenAccountsByOwner
  4. getTokenLargestAccounts
  5. getTokenSupply
Synopsis

getTokenAccountBalance

datadata AmountObject

Contains SPL token balance details.

Constructors

Instances5Eq, Show, Generic, FromJSON, Rep

getTokenAccountsByDelegate

getTokenAccountsByOwner

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

Instances3Generic, ToJSON, Rep

getTokenLargestAccounts

Contains address and balance information for an SPL Token account.

Constructors

Instances4Show, Generic, FromJSON, Rep

getTokenSupply