Type Alias: TorqueAudienceClientOptions

@torque-labs/torque-ts-sdkDocs


@torque-labs/torque-ts-sdk / TorqueAudienceClientOptions

Type Alias: TorqueAudienceClientOptions

type TorqueAudienceClientOptions: {
  apiKey: string;
  apiUrl: string;
  appUrl: string;
  functionsUrl: string;
  signer: Adapter | Keypair;
  userClient: TorqueUserClient;
};

Options for the TorqueAudienceClient.

Type declaration

NameTypeDescription

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.

signer

Adapter | Keypair

The signer used to sign transactions.

userClient

The user client for the user based API requests.

Defined in

src/classes/audience.ts:12

Last updated