Type Alias: TorqueUserClientOptions
Last updated
Last updated
@torque-labs/torque-ts-sdk • Docs
@torque-labs/torque-ts-sdk / TorqueUserClientOptions
Options for the TorqueUserClient.
Name | Type | Description |
---|---|---|
apiUrl
?
string
API URL for the client.
appUrl
?
string
App URL for the client.
functionsUrl
?
string
Functions URL for the client.
network
Cluster
The network for the client. Defaults to 'mainnet-beta'.
publisherHandle
?
string
The publisher handle for the client. Defaults to 'torqueprotocol'.
rpc
?
string
RPC URL for the client.
signer
Adapter
| Keypair
The signer used to sign transactions.
signTransaction
?
The function used to sign transactions. If provided, it will override the default signing method.