Skip to main content

Variable: DEFAULT_SOLANA_CONFIG

const DEFAULT_SOLANA_CONFIG: object;

Defined in: solana-client/src/config.ts:41

The defaults a SolanaConfig falls back to. privateKey is omitted on purpose: a signing wallet must supply its own key — there is no safe default.

Type Declaration

commitment

commitment: "confirmed" = DEFAULT_COMMITMENT;

domain

domain: number = SOLANA_DOMAIN;

rpcUrl

rpcUrl: string = DEFAULT_RPC_URL;