Skip to main content
This page is generated from the @gol/sdk type declarations by pnpm solana:reference. It reads the published preview package’s Solana declarations. Do not edit it directly. Devnet Preview 1 only. See availability and qualification limits. This is not the stable SDK reference.

How to read this page

Signatures are the published declarations. Install both optional peers explicitly: @solana/kit@8.4.0 and @solana/codecs-core@8.4.0. Address and Instruction are Kit types. The golDelegate and golMandate namespaces contain generated program codecs and instruction clients. Validate program ownership, PDA, discriminator, size, version and identities before decoding untrusted accounts. readDevnetOwner performs those checks for setup state.
  • Classes list the constructor options and every method a caller can use, including inherited methods.
  • Functions are module-level helpers.
  • Values are exported constants.
  • Types are interfaces and aliases. Ones generated from the platform contract are listed with the API operation that defines their shape.

@gol/sdk/solana

Browser-safe devnet identities, codecs, canonical transaction verification, independent owner reads, and direct owner safety instructions. This entry point accepts no API credentials.

Classes

SolanaClient

Functions

Values

Types

Caps

CreateSolanaWebhookEndpointInput

CreateSolanaWebhookEndpointResponse

DraftView

ExecutionContext

ExecutionView

GasChargeInput

GasPolicy

Hex32

MandateSummary

MandateView

OwnerAction

OwnerActionContext

OwnerSnapshot

PolicySpec

PreparedMandate

PreparedOwnerAction

PrepareExecutionInput

PrepareMandateInput

Refusal

Rule

SetupContext

SetupReview

SolanaConfiguration

SolanaRequest

SolanaWebhookEventType

Terms

@gol/sdk/solana/server

Server-only createSolanaApiClient transport. Keep the test API key on your application server.

Functions

@gol/sdk/solana: instructions

Instruction builders exported through the instructions namespace. These build bytes; they do not sign or broadcast.

Functions

Values

Types

ExecuteGas

ExecuteInput