---
title: "👤 Account"
description: >-
  Learn how to authenticate, manage trading credits, retrieve positions, redeem
  markets, and view portfolio stats using ForkastSDK account functions.
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

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

## 🛠️ Functions

- [Authenticate with Key](/developers/sdk-guide/account/authenticate-with-key) 
- [Approve Trading Credits](/developers/sdk-guide/account/approve-trading-credits) 
- [Get Positions by Market Status](/developers/sdk-guide/account/get-positions-by-market-status) 
- [Redeem Positions By Markets](/developers/sdk-guide/account/redeem-positions-by-markets) 
- [Get Portfolio Stats](/developers/sdk-guide/account/get-portfolio-stats) 

## 🧩 Types

### 🔑 Login Response

Represents a user's access token and wallet salt.

```typescript
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 |
