@tristeroresearch/mach-sdk
Version:
A TypeScript SDK for integrating with Mach's API.
10 lines • 592 B
TypeScript
import { type Asset } from '../@types/asset';
import { type Hex } from 'viem';
/**
* A helper function to retrieve the balance of a specified token for a wallet using the private key from environment variables.
* @param asset - The asset to get the balance of
* @returns The balance of the specified token
* @description This helper function retrieves the balance of a specified token for a wallet using the private key from environment variables.
*/
export declare const tokenBalance: (asset: Asset, privateKey?: Hex) => Promise<unknown>;
//# sourceMappingURL=tokenBalance.util.d.ts.map