Kit
Variables

DEFAULT_RPC_CONFIG

const DEFAULT_RPC_CONFIG: Partial<NonNullable<Parameters<typeof createSolanaRpcApi>[0]>>

When you create Rpc instances with custom transports but otherwise the default RPC API behaviours, use this.

Example

const myCustomRpc = createRpc({
    api: createSolanaRpcApi(DEFAULT_RPC_CONFIG),
    transport: myCustomTransport,
});

On this page