UNPKG

client-aftermath-ts-sdk

Version:
20 lines 757 B
import { AftermathApi } from "../providers/aftermathApi"; import { CoinType, CoinsToBalance } from "../../packages/coin/coinTypes"; import { SuiAddress, TransactionDigest } from "../types"; export declare class WalletApi { private readonly Provider; constructor(Provider: AftermathApi); fetchCoinBalance: (inputs: { walletAddress: SuiAddress; coin: CoinType; }) => Promise<bigint>; fetchAllCoinBalances: (inputs: { walletAddress: SuiAddress; }) => Promise<CoinsToBalance>; fetchPastTransactions: (inputs: { walletAddress: SuiAddress; cursor?: TransactionDigest; limit?: number; }) => Promise<import("../types").TransactionsWithCursor>; } //# sourceMappingURL=walletApi.d.ts.map