TorqueProviderProps

@torque-labs/react


@torque-labs/react / TorqueProviderProps

Interface: TorqueProviderProps

Defined in: react/src/context.tsx:82

The TorqueProviderProps interface defines the props for the TorqueProvider component.

Properties

Property
Type
Description

children?

ReactNode

The children to render

options

{ apiUrl: string; authDomain: string; rpcUrl: string; }

The Torque UI library options

options.apiUrl

string

The API URL for the Torque API server

options.authDomain?

string

The domain to display when signing in with Solana

options.rpcUrl

string

The RPC URL for the Solana network

wallet?

null | Adapter | PrivySolanaWallet

The wallet to use for the Torque SDK

Last updated