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

26 lines 890 B
import { RequestErrorType } from "viem/utils"; /** * Parameters for the `platform.getCurrentSupply` method. * Get the current supply of a token. * @property subnetId - The ID of the Subnet to get the supply for. If omitted, gets supply for the Primary Network */ export type GetCurrentSupplyParameters = { subnetId?: string; }; /** * Return type for the `platform.getCurrentSupply` method. * @property supply - An upper bound on the number of tokens that exist */ export type GetCurrentSupplyReturnType = { /** * An upper bound on the number of tokens that exist. */ supply: bigint; }; export type GetCurrentSupplyErrorType = RequestErrorType; export type GetCurrentSupplyMethod = { Method: "platform.getCurrentSupply"; Parameters: GetCurrentSupplyParameters; ReturnType: GetCurrentSupplyReturnType; }; //# sourceMappingURL=getCurrentSupply.d.ts.map