@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
30 lines • 905 B
TypeScript
import { RequestErrorType } from "viem/utils";
/**
* The parameters for the `avm.getAssetDescription` method.
*
* @property assetID - The asset ID.
*/
export type GetAssetDescriptionParameters = {
assetID: string;
};
/**
* The return type for the `avm.getAssetDescription` method.
*
* @property assetID - The asset ID.
* @property name - The name of the asset.
* @property symbol - The symbol of the asset.
* @property denomination - The denomination of the asset.
*/
export type GetAssetDescriptionReturnType = {
assetID: string;
name: string;
symbol: string;
denomination: number;
};
export type GetAssetDescriptionErrorType = RequestErrorType;
export type GetAssetDescriptionMethod = {
Method: "avm.getAssetDescription";
Parameters: GetAssetDescriptionParameters;
ReturnType: GetAssetDescriptionReturnType;
};
//# sourceMappingURL=getAssetDescription.d.ts.map