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

This module defines shared types used in Solana RPC responses and configuration payloads. It includes generic RPC response envelopes, context metadata, and configuration options for request customization.

These types are reused across many Solana JSON-RPC methods and should be imported wherever Solana RPC requests or responses are constructed or parsed.

Contents
  1. RPCResponse
  2. ConfigurationObject
Synopsis

RPCResponse

datadata Context

Contains contextual information returned with most Solana RPC responses.

Includes API version and the slot at which the response is valid.

Constructors

Instances4Show, Generic, FromJSON, Rep
datadata RPCResponse a

Generic wrapper for Solana RPC responses that include a context and a value.

Many Solana RPC methods return a response shaped like:

{ "context": { ... }, "value": <data> }

Constructors

Instances2Show, FromJSON

ConfigurationObject

Configuration options used to customize Solana RPC requests.

Many RPC methods accept a configuration object to control encoding, commitment level, preflight behavior, and more.

Constructors

Instances4Show, Generic, ToJSON, Rep