TorqueSDK
@torque-labs/sdk / TorqueSDK
Class: TorqueSDK
Defined in: sdk/src/modules/main.ts:36
The TorqueSDK class is used to interact with the Torque API.
Param
The options for the SDK
Constructors
new TorqueSDK()
new TorqueSDK(options): TorqueSDKDefined in: sdk/src/modules/main.ts:67
Parameters
Parameter
Type
options
Returns
TorqueSDK
Properties
Property
Type
Description
_connection
Connection
The connection for the SDK instance
apiUrl
string
The base URL of the Torque API
Methods
authenticate()
authenticate(
signer,
authOptions?,
authInput?): Promise<string>Defined in: sdk/src/modules/main.ts:87
Authenticate the user with the API using the provided login data.
Parameters
Parameter
Type
Description
Returns
Promise<string>
Last updated
