@@ -112,7 +112,7 @@ export interface SuiCoinConstructorOptions extends AccountConstructorOptions {
112112}
113113
114114export interface AptCoinConstructorOptions extends AccountConstructorOptions {
115- fungibleAssetAddress : string ;
115+ assetId : string ;
116116}
117117
118118type FiatCoinName = `fiat${string } ` | `tfiat${string } `;
@@ -466,13 +466,13 @@ export class SuiCoin extends AccountCoinToken {
466466 *
467467 */
468468export class AptCoin extends AccountCoinToken {
469- public fungibleAssetAddress : string ;
469+ public assetId : string ;
470470 constructor ( options : AptCoinConstructorOptions ) {
471471 super ( {
472472 ...options ,
473473 } ) ;
474474
475- this . fungibleAssetAddress = options . fungibleAssetAddress ;
475+ this . assetId = options . assetId ;
476476 }
477477}
478478
@@ -2337,7 +2337,7 @@ export function tsuiToken(
23372337 * @param name unique identifier of the token
23382338 * @param fullName Complete human-readable name of the token
23392339 * @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
2340- * @param fungibleAssetAddress Fungible asset address of this token
2340+ * @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
23412341 * @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
23422342 * @param prefix Optional token prefix. Defaults to empty string
23432343 * @param suffix Optional token suffix. Defaults to token name.
@@ -2350,7 +2350,7 @@ export function aptToken(
23502350 name : string ,
23512351 fullName : string ,
23522352 decimalPlaces : number ,
2353- fungibleAssetAddress : string ,
2353+ assetId : string ,
23542354 asset : UnderlyingAsset ,
23552355 features : CoinFeature [ ] = AccountCoin . DEFAULT_FEATURES ,
23562356 prefix = '' ,
@@ -2364,7 +2364,7 @@ export function aptToken(
23642364 name,
23652365 fullName,
23662366 network,
2367- fungibleAssetAddress ,
2367+ assetId ,
23682368 prefix,
23692369 suffix,
23702370 features,
@@ -2384,7 +2384,7 @@ export function aptToken(
23842384 * @param name unique identifier of the token
23852385 * @param fullName Complete human-readable name of the token
23862386 * @param decimalPlaces Number of decimal places this token supports (divisibility exponent)
2387- * @param fungibleAssetAddress Fungible asset of this token
2387+ * @param assetId Asset Id of this token i.e. the unique identifier of the token for all tokens - fungible, non-fungible and legacy
23882388 * @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
23892389 * @param prefix Optional token prefix. Defaults to empty string
23902390 * @param suffix Optional token suffix. Defaults to token name.
@@ -2397,7 +2397,7 @@ export function taptToken(
23972397 name : string ,
23982398 fullName : string ,
23992399 decimalPlaces : number ,
2400- fungibleAssetAddress : string ,
2400+ assetId : string ,
24012401 asset : UnderlyingAsset ,
24022402 features : CoinFeature [ ] = AccountCoin . DEFAULT_FEATURES ,
24032403 prefix = '' ,
@@ -2410,7 +2410,7 @@ export function taptToken(
24102410 name ,
24112411 fullName ,
24122412 decimalPlaces ,
2413- fungibleAssetAddress ,
2413+ assetId ,
24142414 asset ,
24152415 features ,
24162416 prefix ,
0 commit comments