Skip to content

Commit

Permalink
fix(types): Add token_extensions for TokenAccount (#124)
Browse files Browse the repository at this point in the history
* Add token_extensions to TokenAccount

* Remove Unused Imports from RpcClient.ts

* Add TODO
  • Loading branch information
0xIchigo authored Aug 15, 2024
1 parent 3bb6ad8 commit 83c7e5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/RpcClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import axios from 'axios';

import { DAS } from './types/das-types';
import {
Address,
GetPriorityFeeEstimateRequest,
GetPriorityFeeEstimateResponse,
JITO_API_URLS,
Expand Down
2 changes: 2 additions & 0 deletions src/types/das-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,8 @@ export namespace DAS {
amount?: number;
delegated_amount?: number;
frozen?: boolean;
// TODO: Add proper typing for token extensions instead of using `any`
token_extensions: any;
}

export interface GetTokenAccountsRequest {
Expand Down

0 comments on commit 83c7e5c

Please sign in to comment.