Skip to content

Commit

Permalink
feat(api): use CaipAssetTypeOrId for assets
Browse files Browse the repository at this point in the history
  • Loading branch information
ccharly committed Apr 25, 2024
1 parent bfe6206 commit 1056156
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { CaipChainId } from '@metamask/utils';

import type { CaipAssetType } from './caip-types';
import type { CaipAssetTypeOrId } from './caip-types';
import type { BalancesResult } from './types';

export type Chain = {
getBalances(
scope: CaipChainId,
accounts: string[],
assets: CaipAssetType[],
assets: CaipAssetTypeOrId[],
): Promise<BalancesResult>;
};

0 comments on commit 1056156

Please sign in to comment.