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.Transaction

This module provides Solana JSON-RPC bindings related to transaction lifecycle operations: fee estimation, transaction broadcasting, simulation, airdrops (on devnet), and retrieving metadata for finalized transactions.

These endpoints are essential for any client application that signs and sends transactions.

  • 1 type
  • 10 values

getFeeForMessage

2 declarations

getTransaction

3 declarations

Returns metadata and content for a confirmed transaction identified by its signature. Sets maxSupportedTransactionVersion so that versioned (v0) transactions can be decoded (without it, the node responds with error -32015); as a result, v0 transactions are returned without their address-lookup-table data, so instruction account indices may reference addresses not present in the parsed account keys. Returns Nothing if the signature is unknown or has expired.

datadata TransactionResult
#

Contains metadata and transaction information returned by getTransaction.

Constructors

Instances4Show, Generic, FromJSON, Rep

requestAirdrop

1 declaration

sendTransaction

3 declarations

Default configuration used for sending transactions. Leaves preflight checks and retry behavior at the node's own defaults; callers who want fire-and-forget behavior (no preflight simulation, no rebroadcast) can use sendTransaction' with an explicit configuration instead.

simulateTransaction

2 declarations