๐Ÿ‘ค Account

Learn how to authenticate, manage trading credits, retrieve positions, redeem markets, and view portfolio stats using ForkastSDK account functions.

This section documents the core interfaces used when working with user accounts in ForkastSDK.

๐Ÿ› ๏ธ Functions

๐Ÿงฉ Types

๐Ÿ”‘ Login Response

Represents a user's access token and wallet salt.

interface LoginResponse {
  accessToken: string;
  walletSalt: string;
}

Key Fields

FieldTypeDescription
accessTokenstringThe token to authenticate requests
walletSaltstringThe salt associated with the user's wallet