Type Alias: TorqueSDKOptions
Last updated
Last updated
@torque-labs/torque-ts-sdk • Docs
@torque-labs/torque-ts-sdk / TorqueSDKOptions
Options for the TorqueSDK.
Name | Type | Description |
---|---|---|
apiKey
?
string
The API key for the client.
apiUrl
?
string
The API URL for the client.
appUrl
?
string
The app URL for the client.
functionsUrl
?
string
The functions URL for the client.
network
?
Cluster
The network for the client. Defaults to 'mainnet-beta'. Only used if the RPC URL is not provided.
publisherHandle
?
string
The publisher handle for the client. Defaults to 'torqueprotocol'.
rpc
?
string
The RPC URL for the client. Defaults to the Solana mainnet-beta cluster.