๐ค 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
- Authenticate with Key
- Approve Trading Credits
- Get Positions by Market Status
- Redeem Positions By Markets
- Get Portfolio Stats
๐งฉ Types
๐ Login Response
Represents a user's access token and wallet salt.
interface LoginResponse {
accessToken: string;
walletSalt: string;
}
Key Fields
| Field | Type | Description |
|---|---|---|
accessToken | string | The token to authenticate requests |
walletSalt | string | The salt associated with the user's wallet |