@aptos-labs/js-pro
Version:
State management and library of utilities for Aptos applications.
17 lines • 818 B
TypeScript
/**
* Returns the paired Fungible Asset metadata paired for a given coin type. If the
* coin type is Aptos Coin, it will return a special address for the metadata.
*
* @param coinType - The coin type (e.g. 0x1::aptos_coin::AptosCoin, 0x31::moon_coin::MoonCoin)
* @returns The paired metadata address for the given coin type
*/
export declare const getPairedMetadata: (coinType: string) => `0x${string}`;
/**
* Returns the associated fungible asset store for a given metadata and account address.
*
* @param metadata - The metadata address (e.g. 0xfa)
* @param accountAddress - The account address
* @returns The associated fungible asset store address
*/
export declare const getPrimaryFungibleStore: (accountAddress: string, metadata: string) => `0x${string}`;
//# sourceMappingURL=fungibleAssets.d.ts.map