UNPKG

@ledgerhq/coin-tron

Version:
16 lines 609 B
import BigNumber from "bignumber.js"; import type { AccountTronAPI } from "../network/types"; import { Asset as CoreAsset } from "@ledgerhq/coin-framework/api/index"; export type AssetTree = CoreAsset & { tokens: Asset[]; }; export declare function getBalance(address: string): Promise<AssetTree>; type Asset = { standard: "trc10" | "trc20"; contractAddress: string; balance: bigint; }; export declare function computeBalance(account: AccountTronAPI): bigint; export declare function computeBalanceBridge(account: AccountTronAPI): BigNumber; export {}; //# sourceMappingURL=getBalance.d.ts.map