Skip to Content

🚧 These packages are still in development and may change rapidly as they are developed.

TypeScriptfetchFungibleAssetMetadata

fetchFungibleAssetMetadata

Function to fetch fungible asset metadata for a given asset address.

Usage

import { AptosJSProClient } from "@aptos-labs/js-pro"; const client = new AptosJSProClient({ /* ... */ }); const fungibleAssetMetadata = await client.fetchFungibleAssetMetadata({ address: "0xa", });

Coin Type

import { AptosJSProClient } from "@aptos-labs/js-pro"; const client = new AptosJSProClient({ /* ... */ }); const fungibleAssetMetadata = await client.fetchFungibleAssetMetadata({ address: "0x1::aptos_coin::AptosCoin", });

Parameters

NameTypeDefault
assetstring
networkNetworkInfo

The network to use for the request. If not set, the network of the AptosJSProClient instance will be used.

Return Type

NameTypeDefault
assetTypestring
creatorAddressstring
decimalsnumber
iconUristring | null
maximumV2number | null
namestring
projectUristring | null
supplyV2number | null
symbolstring
tokenStandardstring
Last updated on