UNPKG

@avalanche-sdk/client

Version:

A TypeScript SDK for interacting with the Avalanche network through JSON-RPC APIs. This SDK provides a comprehensive set of tools to interact with all Avalanche chains (P-Chain, X-Chain, C-Chain) and various APIs, including wallet functionality for transa

33 lines 821 B
import { RequestErrorType } from "viem/utils"; /** * The parameters for the `avm.getAllBalances` method. * * @property addresses - The addresses to get balances for. */ export type GetAllBalancesParameters = { addresses: string[]; }; /** * The return type for the `avm.getAllBalances` method. * * @property balances - The balances. */ export type GetAllBalancesReturnType = { balances: { /** * The asset ID. */ assetID: string; /** * The balance. */ balance: bigint; }[]; }; export type GetAllBalancesErrorType = RequestErrorType; export type GetAllBalancesMethod = { Method: "avm.getAllBalances"; Parameters: GetAllBalancesParameters; ReturnType: GetAllBalancesReturnType; }; //# sourceMappingURL=getAllBalances.d.ts.map