UNPKG

@broxus/js-bridge-essentials

Version:

Bridge JavaScript Essentials library

15 lines (14 loc) 646 B
import { type Address } from '@ton/ton'; import { type ProviderRpcClient } from 'everscale-inpage-provider'; export interface TonTokenWalletOwnerParams { ownerAddress: Address | string; tokenAddress: Address | string; } export interface TonTokenWalletAddressParams { walletAddress: Address | string; } export declare abstract class TonTokenWalletUtils { static endpoints: Record<number, string>; static balance(connection: ProviderRpcClient, params: TonTokenWalletOwnerParams): Promise<string | undefined>; static balance(connection: ProviderRpcClient, params: TonTokenWalletAddressParams): Promise<string | undefined>; }