Skip to content

Commit

Permalink
add python get user
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Nov 28, 2023
1 parent 1f3b1e7 commit 2ebbf65
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,11 @@ perp_market_account = drift_client.get_perp_market_account(market_index);
## Get User

```typescript
const user = await driftClient.getUser();
const user = driftClient.getUser();
```

```python
user = drift_client.get_user();
```

| Parameter | Description | Optional | Default |
Expand Down

0 comments on commit 2ebbf65

Please sign in to comment.