@torque-labs/react
@torque-labs/react / TorqueProviderProps
Defined in: react/src/context.tsx:82arrow-up-right
The TorqueProviderProps interface defines the props for the TorqueProvider component.
children?
ReactNode
The children to render
options
{ apiUrl: string; authDomain: string; rpcUrl: string; }
apiUrl
string
authDomain
rpcUrl
The Torque UI library options
options.apiUrl
The API URL for the Torque API server
options.authDomain?
The domain to display when signing in with Solana
options.rpcUrl
The RPC URL for the Solana network
wallet?
null | Adapter | PrivySolanaWallet
null
Adapter
PrivySolanaWallet
The wallet to use for the Torque SDK
Last updated 10 months ago