@aptos-labs/ts-sdk 7.2.0 → 7.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +43 -43
- package/README.md +36 -20
- package/dist/account/AbstractKeylessAccount.d.ts.map +1 -1
- package/dist/account/AbstractKeylessAccount.js.map +1 -1
- package/dist/account/AbstractedAccount.d.ts.map +1 -1
- package/dist/account/Account.d.ts.map +1 -1
- package/dist/account/Account.js.map +1 -1
- package/dist/account/AccountUtils.js.map +1 -1
- package/dist/account/DerivableAbstractedAccount.d.ts.map +1 -1
- package/dist/account/DerivableAbstractedAccount.js.map +1 -1
- package/dist/account/Ed25519Account.d.ts.map +1 -1
- package/dist/account/EphemeralKeyPair.d.ts.map +1 -1
- package/dist/account/EphemeralKeyPair.js.map +1 -1
- package/dist/account/FederatedKeylessAccount.d.ts.map +1 -1
- package/dist/account/KeylessAccount.d.ts.map +1 -1
- package/dist/account/MultiEd25519Account.d.ts.map +1 -1
- package/dist/account/MultiKeyAccount.d.ts.map +1 -1
- package/dist/account/SingleKeyAccount.d.ts.map +1 -1
- package/dist/account/SingleKeyAccount.js.map +1 -1
- package/dist/api/account/abstraction.d.ts +10 -0
- package/dist/api/account/abstraction.d.ts.map +1 -1
- package/dist/api/account/abstraction.js +19 -6
- package/dist/api/account/abstraction.js.map +1 -1
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js.map +1 -1
- package/dist/api/ans.d.ts +9 -0
- package/dist/api/ans.d.ts.map +1 -1
- package/dist/api/ans.js +5 -0
- package/dist/api/ans.js.map +1 -1
- package/dist/api/aptos.d.ts.map +1 -1
- package/dist/api/aptosConfig.d.ts +12 -0
- package/dist/api/aptosConfig.d.ts.map +1 -1
- package/dist/api/aptosConfig.js +13 -0
- package/dist/api/aptosConfig.js.map +1 -1
- package/dist/api/coin.d.ts +2 -0
- package/dist/api/coin.d.ts.map +1 -1
- package/dist/api/coin.js +1 -0
- package/dist/api/coin.js.map +1 -1
- package/dist/api/digitalAsset.d.ts +30 -0
- package/dist/api/digitalAsset.d.ts.map +1 -1
- package/dist/api/digitalAsset.js +15 -0
- package/dist/api/digitalAsset.js.map +1 -1
- package/dist/api/faucet.d.ts.map +1 -1
- package/dist/api/faucet.js.map +1 -1
- package/dist/api/fungibleAsset.d.ts +4 -0
- package/dist/api/fungibleAsset.d.ts.map +1 -1
- package/dist/api/fungibleAsset.js +2 -0
- package/dist/api/fungibleAsset.js.map +1 -1
- package/dist/api/general.d.ts.map +1 -1
- package/dist/api/keyless.d.ts +38 -1
- package/dist/api/keyless.d.ts.map +1 -1
- package/dist/api/keyless.js +29 -1
- package/dist/api/keyless.js.map +1 -1
- package/dist/api/object.d.ts.map +1 -1
- package/dist/api/object.js.map +1 -1
- package/dist/api/staking.d.ts.map +1 -1
- package/dist/api/staking.js.map +1 -1
- package/dist/api/table.d.ts.map +1 -1
- package/dist/api/transaction.d.ts +41 -1
- package/dist/api/transaction.d.ts.map +1 -1
- package/dist/api/transaction.js +42 -2
- package/dist/api/transaction.js.map +1 -1
- package/dist/api/transactionSubmission/build.d.ts +7 -5
- package/dist/api/transactionSubmission/build.d.ts.map +1 -1
- package/dist/api/transactionSubmission/build.js +13 -5
- package/dist/api/transactionSubmission/build.js.map +1 -1
- package/dist/api/transactionSubmission/management.d.ts.map +1 -1
- package/dist/api/transactionSubmission/sign.d.ts.map +1 -1
- package/dist/api/transactionSubmission/simulate.d.ts +7 -3
- package/dist/api/transactionSubmission/simulate.d.ts.map +1 -1
- package/dist/api/transactionSubmission/simulate.js +7 -3
- package/dist/api/transactionSubmission/simulate.js.map +1 -1
- package/dist/api/transactionSubmission/submit.d.ts.map +1 -1
- package/dist/bcs/deserializer.d.ts.map +1 -1
- package/dist/bcs/serializable/entryFunctionBytes.d.ts.map +1 -1
- package/dist/bcs/serializable/fixedBytes.d.ts.map +1 -1
- package/dist/bcs/serializable/movePrimitives.d.ts.map +1 -1
- package/dist/bcs/serializable/moveStructs.d.ts +72 -28
- package/dist/bcs/serializable/moveStructs.d.ts.map +1 -1
- package/dist/bcs/serializable/moveStructs.js +76 -28
- package/dist/bcs/serializable/moveStructs.js.map +1 -1
- package/dist/bcs/serializer.d.ts.map +1 -1
- package/dist/bcs/serializer.js.map +1 -1
- package/dist/cli/localNode.d.ts.map +1 -1
- package/dist/cli/localNode.js +16 -3
- package/dist/cli/localNode.js.map +1 -1
- package/dist/cli/move.d.ts.map +1 -1
- package/dist/cli/move.js.map +1 -1
- package/dist/client/core.d.ts +3 -0
- package/dist/client/core.d.ts.map +1 -1
- package/dist/client/core.js +116 -9
- package/dist/client/core.js.map +1 -1
- package/dist/core/account/utils/address.d.ts.map +1 -1
- package/dist/core/accountAddress.d.ts.map +1 -1
- package/dist/core/accountAddress.js.map +1 -1
- package/dist/core/authenticationKey.d.ts.map +1 -1
- package/dist/core/authenticationKey.js.map +1 -1
- package/dist/core/common.d.ts.map +1 -1
- package/dist/core/crypto/abstraction.d.ts.map +1 -1
- package/dist/core/crypto/ed25519.d.ts.map +1 -1
- package/dist/core/crypto/ed25519.js.map +1 -1
- package/dist/core/crypto/encryption/ciphertext.d.ts.map +1 -1
- package/dist/core/crypto/encryption/symmetric.d.ts.map +1 -1
- package/dist/core/crypto/encryption/symmetric.js.map +1 -1
- package/dist/core/crypto/ephemeral.d.ts.map +1 -1
- package/dist/core/crypto/federatedKeyless.d.ts.map +1 -1
- package/dist/core/crypto/hdKey.d.ts.map +1 -1
- package/dist/core/crypto/keyless.d.ts.map +1 -1
- package/dist/core/crypto/keyless.js.map +1 -1
- package/dist/core/crypto/multiEd25519.d.ts.map +1 -1
- package/dist/core/crypto/multiEd25519.js.map +1 -1
- package/dist/core/crypto/multiKey.d.ts.map +1 -1
- package/dist/core/crypto/multiKey.js.map +1 -1
- package/dist/core/crypto/privateKey.d.ts.map +1 -1
- package/dist/core/crypto/privateKey.js.map +1 -1
- package/dist/core/crypto/publicKey.d.ts.map +1 -1
- package/dist/core/crypto/secp256k1.d.ts.map +1 -1
- package/dist/core/crypto/secp256k1.js.map +1 -1
- package/dist/core/crypto/secp256r1.d.ts.map +1 -1
- package/dist/core/crypto/secp256r1.js.map +1 -1
- package/dist/core/crypto/signature.d.ts.map +1 -1
- package/dist/core/crypto/singleKey.d.ts.map +1 -1
- package/dist/core/crypto/singleKey.js.map +1 -1
- package/dist/core/crypto/utils.d.ts.map +1 -1
- package/dist/core/hex.d.ts.map +1 -1
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/functions/keyless.d.ts +1 -1
- package/dist/functions/keyless.d.ts.map +1 -1
- package/dist/functions/keyless.js +1 -1
- package/dist/functions/keyless.js.map +1 -1
- package/dist/functions/transaction.d.ts +1 -1
- package/dist/functions/transaction.d.ts.map +1 -1
- package/dist/functions/transaction.js +1 -1
- package/dist/functions/transaction.js.map +1 -1
- package/dist/internal/abstraction.d.ts +35 -0
- package/dist/internal/abstraction.d.ts.map +1 -1
- package/dist/internal/abstraction.js +38 -3
- package/dist/internal/abstraction.js.map +1 -1
- package/dist/internal/account.d.ts +6 -0
- package/dist/internal/account.d.ts.map +1 -1
- package/dist/internal/account.js +55 -37
- package/dist/internal/account.js.map +1 -1
- package/dist/internal/ans.d.ts +11 -0
- package/dist/internal/ans.d.ts.map +1 -1
- package/dist/internal/ans.js +18 -6
- package/dist/internal/ans.js.map +1 -1
- package/dist/internal/coin.d.ts +2 -0
- package/dist/internal/coin.d.ts.map +1 -1
- package/dist/internal/coin.js +3 -1
- package/dist/internal/coin.js.map +1 -1
- package/dist/internal/digitalAsset.d.ts +30 -0
- package/dist/internal/digitalAsset.d.ts.map +1 -1
- package/dist/internal/digitalAsset.js +45 -15
- package/dist/internal/digitalAsset.js.map +1 -1
- package/dist/internal/fungibleAsset.d.ts +4 -0
- package/dist/internal/fungibleAsset.d.ts.map +1 -1
- package/dist/internal/fungibleAsset.js +6 -2
- package/dist/internal/fungibleAsset.js.map +1 -1
- package/dist/internal/keyless.d.ts +39 -1
- package/dist/internal/keyless.d.ts.map +1 -1
- package/dist/internal/keyless.js +71 -13
- package/dist/internal/keyless.js.map +1 -1
- package/dist/internal/transaction.d.ts +24 -1
- package/dist/internal/transaction.d.ts.map +1 -1
- package/dist/internal/transaction.js +125 -4
- package/dist/internal/transaction.js.map +1 -1
- package/dist/internal/transactionSubmission.d.ts +2 -0
- package/dist/internal/transactionSubmission.d.ts.map +1 -1
- package/dist/internal/transactionSubmission.js +3 -1
- package/dist/internal/transactionSubmission.js.map +1 -1
- package/dist/transactions/authenticator/account.d.ts.map +1 -1
- package/dist/transactions/authenticator/transaction.d.ts.map +1 -1
- package/dist/transactions/instances/chainId.d.ts.map +1 -1
- package/dist/transactions/instances/encryptedPayload.d.ts.map +1 -1
- package/dist/transactions/instances/encryptedPayload.js.map +1 -1
- package/dist/transactions/instances/identifier.d.ts.map +1 -1
- package/dist/transactions/instances/moduleId.d.ts.map +1 -1
- package/dist/transactions/instances/multiAgentTransaction.d.ts.map +1 -1
- package/dist/transactions/instances/rawTransaction.d.ts.map +1 -1
- package/dist/transactions/instances/rotationProofChallenge.d.ts.map +1 -1
- package/dist/transactions/instances/signedTransaction.d.ts.map +1 -1
- package/dist/transactions/instances/simpleTransaction.d.ts.map +1 -1
- package/dist/transactions/instances/transactionPayload.d.ts.map +1 -1
- package/dist/transactions/management/accountSequenceNumber.d.ts.map +1 -1
- package/dist/transactions/management/asyncQueue.d.ts.map +1 -1
- package/dist/transactions/management/transactionWorker.d.ts +10 -6
- package/dist/transactions/management/transactionWorker.d.ts.map +1 -1
- package/dist/transactions/management/transactionWorker.js +28 -24
- package/dist/transactions/management/transactionWorker.js.map +1 -1
- package/dist/transactions/transactionBuilder/index.d.ts +1 -0
- package/dist/transactions/transactionBuilder/index.d.ts.map +1 -1
- package/dist/transactions/transactionBuilder/index.js +1 -0
- package/dist/transactions/transactionBuilder/index.js.map +1 -1
- package/dist/transactions/transactionBuilder/scriptAbi.d.ts +10 -0
- package/dist/transactions/transactionBuilder/scriptAbi.d.ts.map +1 -0
- package/dist/transactions/transactionBuilder/scriptAbi.js +863 -0
- package/dist/transactions/transactionBuilder/scriptAbi.js.map +1 -0
- package/dist/transactions/transactionBuilder/structEnumParser.d.ts.map +1 -1
- package/dist/transactions/transactionBuilder/structEnumParser.js.map +1 -1
- package/dist/transactions/transactionBuilder/transactionBuilder.d.ts +7 -2
- package/dist/transactions/transactionBuilder/transactionBuilder.d.ts.map +1 -1
- package/dist/transactions/transactionBuilder/transactionBuilder.js +65 -1
- package/dist/transactions/transactionBuilder/transactionBuilder.js.map +1 -1
- package/dist/transactions/typeTag/index.d.ts.map +1 -1
- package/dist/transactions/typeTag/index.js.map +1 -1
- package/dist/transactions/typeTag/parser.d.ts.map +1 -1
- package/dist/transactions/typeTag/parser.js.map +1 -1
- package/dist/transactions/types.d.ts +9 -4
- package/dist/transactions/types.d.ts.map +1 -1
- package/dist/types/generated/queries.d.ts.map +1 -1
- package/dist/types/generated/queries.js.map +1 -1
- package/dist/types/keyless.d.ts +2 -2
- package/dist/types/keyless.d.ts.map +1 -1
- package/dist/types/types.d.ts +7 -2
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/types.js.map +1 -1
- package/dist/utils/const.d.ts +11 -0
- package/dist/utils/const.d.ts.map +1 -1
- package/dist/utils/const.js +11 -0
- package/dist/utils/const.js.map +1 -1
- package/dist/utils/helpers.d.ts.map +1 -1
- package/dist/utils/helpers.js.map +1 -1
- package/dist/utils/runtime.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +27 -25
- package/src/api/account/abstraction.ts +23 -6
- package/src/api/ans.ts +9 -0
- package/src/api/aptosConfig.ts +14 -0
- package/src/api/coin.ts +2 -0
- package/src/api/digitalAsset.ts +30 -0
- package/src/api/fungibleAsset.ts +4 -0
- package/src/api/keyless.ts +39 -1
- package/src/api/transaction.ts +48 -1
- package/src/api/transactionSubmission/build.ts +16 -6
- package/src/api/transactionSubmission/simulate.ts +7 -3
- package/src/bcs/serializable/moveStructs.ts +80 -28
- package/src/cli/localNode.ts +17 -3
- package/src/client/core.ts +150 -10
- package/src/functions/keyless.ts +1 -0
- package/src/functions/transaction.ts +1 -0
- package/src/internal/abstraction.ts +41 -3
- package/src/internal/account.ts +60 -38
- package/src/internal/ans.ts +24 -6
- package/src/internal/coin.ts +4 -1
- package/src/internal/digitalAsset.ts +60 -9
- package/src/internal/fungibleAsset.ts +8 -2
- package/src/internal/keyless.ts +91 -14
- package/src/internal/transaction.ts +154 -4
- package/src/internal/transactionSubmission.ts +4 -1
- package/src/transactions/management/transactionWorker.ts +35 -23
- package/src/transactions/transactionBuilder/index.ts +1 -0
- package/src/transactions/transactionBuilder/scriptAbi.ts +1145 -0
- package/src/transactions/transactionBuilder/transactionBuilder.ts +97 -6
- package/src/transactions/types.ts +10 -4
- package/src/types/keyless.ts +2 -2
- package/src/types/types.ts +8 -2
- package/src/utils/const.ts +12 -0
- package/src/version.ts +1 -1
|
@@ -142,6 +142,7 @@ export interface CreateCollectionOptions {
|
|
|
142
142
|
* @param args.description - A description of the collection.
|
|
143
143
|
* @param args.name - The name of the collection.
|
|
144
144
|
* @param args.uri - The URI associated with the collection.
|
|
145
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
145
146
|
* @param args.options - Optional parameters for generating the transaction.
|
|
146
147
|
* @param args.maxSupply - The maximum supply of tokens in the collection (optional).
|
|
147
148
|
* @param args.mutableDescription - Indicates if the collection description can be changed (optional, defaults to true).
|
|
@@ -163,6 +164,7 @@ export declare function createCollectionTransaction(args: {
|
|
|
163
164
|
description: string;
|
|
164
165
|
name: string;
|
|
165
166
|
uri: string;
|
|
167
|
+
withFeePayer?: boolean;
|
|
166
168
|
options?: InputGenerateTransactionOptions;
|
|
167
169
|
} & CreateCollectionOptions): Promise<SimpleTransaction>;
|
|
168
170
|
/**
|
|
@@ -268,6 +270,7 @@ export declare function getCollectionId(args: {
|
|
|
268
270
|
* @param [args.propertyKeys] - Optional array of property keys associated with the asset.
|
|
269
271
|
* @param [args.propertyTypes] - Optional array of property types corresponding to the asset's properties.
|
|
270
272
|
* @param [args.propertyValues] - Optional array of property values for the asset's properties.
|
|
273
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
271
274
|
* @param [args.options] - Optional transaction generation options.
|
|
272
275
|
* @group Implementation
|
|
273
276
|
*/
|
|
@@ -281,6 +284,7 @@ export declare function mintDigitalAssetTransaction(args: {
|
|
|
281
284
|
propertyKeys?: Array<string>;
|
|
282
285
|
propertyTypes?: Array<PropertyType>;
|
|
283
286
|
propertyValues?: Array<PropertyValue>;
|
|
287
|
+
withFeePayer?: boolean;
|
|
284
288
|
options?: InputGenerateTransactionOptions;
|
|
285
289
|
}): Promise<SimpleTransaction>;
|
|
286
290
|
/**
|
|
@@ -293,6 +297,7 @@ export declare function mintDigitalAssetTransaction(args: {
|
|
|
293
297
|
* @param args.digitalAssetAddress - The address of the digital asset being transferred.
|
|
294
298
|
* @param args.recipient - The address of the account receiving the digital asset.
|
|
295
299
|
* @param args.digitalAssetType - (Optional) The type of the digital asset being transferred.
|
|
300
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
296
301
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
297
302
|
* @group Implementation
|
|
298
303
|
*/
|
|
@@ -302,6 +307,7 @@ export declare function transferDigitalAssetTransaction(args: {
|
|
|
302
307
|
digitalAssetAddress: AccountAddressInput;
|
|
303
308
|
recipient: AccountAddressInput;
|
|
304
309
|
digitalAssetType?: MoveStructId;
|
|
310
|
+
withFeePayer?: boolean;
|
|
305
311
|
options?: InputGenerateTransactionOptions;
|
|
306
312
|
}): Promise<SimpleTransaction>;
|
|
307
313
|
/**
|
|
@@ -319,6 +325,7 @@ export declare function transferDigitalAssetTransaction(args: {
|
|
|
319
325
|
* @param [args.propertyKeys] - Optional array of property keys associated with the token.
|
|
320
326
|
* @param [args.propertyTypes] - Optional array of property types corresponding to the property keys.
|
|
321
327
|
* @param [args.propertyValues] - Optional array of property values that match the property keys and types.
|
|
328
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
322
329
|
* @param [args.options] - Optional transaction generation options.
|
|
323
330
|
* @throws Error if the counts of property keys, property types, and property values do not match.
|
|
324
331
|
* @group Implementation
|
|
@@ -334,6 +341,7 @@ export declare function mintSoulBoundTransaction(args: {
|
|
|
334
341
|
propertyKeys?: Array<string>;
|
|
335
342
|
propertyTypes?: Array<PropertyType>;
|
|
336
343
|
propertyValues?: Array<PropertyValue>;
|
|
344
|
+
withFeePayer?: boolean;
|
|
337
345
|
options?: InputGenerateTransactionOptions;
|
|
338
346
|
}): Promise<SimpleTransaction>;
|
|
339
347
|
/**
|
|
@@ -345,6 +353,7 @@ export declare function mintSoulBoundTransaction(args: {
|
|
|
345
353
|
* @param args.creator - The account that is initiating the burn transaction.
|
|
346
354
|
* @param args.digitalAssetAddress - The address of the digital asset to be burned.
|
|
347
355
|
* @param args.digitalAssetType - Optional; the type of the digital asset being burned.
|
|
356
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
348
357
|
* @param args.options - Optional; additional options for generating the transaction.
|
|
349
358
|
* @group Implementation
|
|
350
359
|
*/
|
|
@@ -353,6 +362,7 @@ export declare function burnDigitalAssetTransaction(args: {
|
|
|
353
362
|
creator: Account;
|
|
354
363
|
digitalAssetAddress: AccountAddressInput;
|
|
355
364
|
digitalAssetType?: MoveStructId;
|
|
365
|
+
withFeePayer?: boolean;
|
|
356
366
|
options?: InputGenerateTransactionOptions;
|
|
357
367
|
}): Promise<SimpleTransaction>;
|
|
358
368
|
/**
|
|
@@ -364,6 +374,7 @@ export declare function burnDigitalAssetTransaction(args: {
|
|
|
364
374
|
* @param args.creator - The account that is creating the transaction.
|
|
365
375
|
* @param args.digitalAssetAddress - The address of the digital asset to be frozen.
|
|
366
376
|
* @param args.digitalAssetType - (Optional) The type of the digital asset as a Move struct ID.
|
|
377
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
367
378
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
368
379
|
* @group Implementation
|
|
369
380
|
*/
|
|
@@ -372,6 +383,7 @@ export declare function freezeDigitalAssetTransferTransaction(args: {
|
|
|
372
383
|
creator: Account;
|
|
373
384
|
digitalAssetAddress: AccountAddressInput;
|
|
374
385
|
digitalAssetType?: MoveStructId;
|
|
386
|
+
withFeePayer?: boolean;
|
|
375
387
|
options?: InputGenerateTransactionOptions;
|
|
376
388
|
}): Promise<SimpleTransaction>;
|
|
377
389
|
/**
|
|
@@ -382,6 +394,7 @@ export declare function freezeDigitalAssetTransferTransaction(args: {
|
|
|
382
394
|
* @param args.creator - The account that is initiating the unfreeze transaction.
|
|
383
395
|
* @param args.digitalAssetAddress - The address of the digital asset to be unfrozen.
|
|
384
396
|
* @param args.digitalAssetType - (Optional) The type of the digital asset being unfrozen.
|
|
397
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
385
398
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
386
399
|
* @group Implementation
|
|
387
400
|
*/
|
|
@@ -390,6 +403,7 @@ export declare function unfreezeDigitalAssetTransferTransaction(args: {
|
|
|
390
403
|
creator: Account;
|
|
391
404
|
digitalAssetAddress: AccountAddressInput;
|
|
392
405
|
digitalAssetType?: MoveStructId;
|
|
406
|
+
withFeePayer?: boolean;
|
|
393
407
|
options?: InputGenerateTransactionOptions;
|
|
394
408
|
}): Promise<SimpleTransaction>;
|
|
395
409
|
/**
|
|
@@ -401,6 +415,7 @@ export declare function unfreezeDigitalAssetTransferTransaction(args: {
|
|
|
401
415
|
* @param args.description - The new description for the digital asset.
|
|
402
416
|
* @param args.digitalAssetAddress - The address of the digital asset whose description is being set.
|
|
403
417
|
* @param args.digitalAssetType - (Optional) The type of the digital asset.
|
|
418
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
404
419
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
405
420
|
* @group Implementation
|
|
406
421
|
*/
|
|
@@ -410,6 +425,7 @@ export declare function setDigitalAssetDescriptionTransaction(args: {
|
|
|
410
425
|
description: string;
|
|
411
426
|
digitalAssetAddress: AccountAddressInput;
|
|
412
427
|
digitalAssetType?: MoveStructId;
|
|
428
|
+
withFeePayer?: boolean;
|
|
413
429
|
options?: InputGenerateTransactionOptions;
|
|
414
430
|
}): Promise<SimpleTransaction>;
|
|
415
431
|
/**
|
|
@@ -422,6 +438,7 @@ export declare function setDigitalAssetDescriptionTransaction(args: {
|
|
|
422
438
|
* @param args.name - The new name to assign to the digital asset.
|
|
423
439
|
* @param args.digitalAssetAddress - The address of the digital asset to update.
|
|
424
440
|
* @param args.digitalAssetType - (Optional) The type of the digital asset, represented as a Move struct ID.
|
|
441
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
425
442
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
426
443
|
* @group Implementation
|
|
427
444
|
*/
|
|
@@ -431,6 +448,7 @@ export declare function setDigitalAssetNameTransaction(args: {
|
|
|
431
448
|
name: string;
|
|
432
449
|
digitalAssetAddress: AccountAddressInput;
|
|
433
450
|
digitalAssetType?: MoveStructId;
|
|
451
|
+
withFeePayer?: boolean;
|
|
434
452
|
options?: InputGenerateTransactionOptions;
|
|
435
453
|
}): Promise<SimpleTransaction>;
|
|
436
454
|
/**
|
|
@@ -442,6 +460,7 @@ export declare function setDigitalAssetNameTransaction(args: {
|
|
|
442
460
|
* @param args.uri - The new URI to be set for the digital asset.
|
|
443
461
|
* @param args.digitalAssetAddress - The address of the digital asset whose URI is being set.
|
|
444
462
|
* @param args.digitalAssetType - The optional type of the digital asset; defaults to a predefined type if not provided.
|
|
463
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
445
464
|
* @param args.options - Optional settings for generating the transaction.
|
|
446
465
|
* @group Implementation
|
|
447
466
|
*/
|
|
@@ -451,6 +470,7 @@ export declare function setDigitalAssetURITransaction(args: {
|
|
|
451
470
|
uri: string;
|
|
452
471
|
digitalAssetAddress: AccountAddressInput;
|
|
453
472
|
digitalAssetType?: MoveStructId;
|
|
473
|
+
withFeePayer?: boolean;
|
|
454
474
|
options?: InputGenerateTransactionOptions;
|
|
455
475
|
}): Promise<SimpleTransaction>;
|
|
456
476
|
/**
|
|
@@ -465,6 +485,7 @@ export declare function setDigitalAssetURITransaction(args: {
|
|
|
465
485
|
* @param args.propertyValue - The value of the property being added.
|
|
466
486
|
* @param args.digitalAssetAddress - The address of the digital asset to which the property is being added.
|
|
467
487
|
* @param args.digitalAssetType - The optional type of the digital asset.
|
|
488
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
468
489
|
* @param args.options - Optional transaction generation options.
|
|
469
490
|
* @group Implementation
|
|
470
491
|
*/
|
|
@@ -476,6 +497,7 @@ export declare function addDigitalAssetPropertyTransaction(args: {
|
|
|
476
497
|
propertyValue: PropertyValue;
|
|
477
498
|
digitalAssetAddress: AccountAddressInput;
|
|
478
499
|
digitalAssetType?: MoveStructId;
|
|
500
|
+
withFeePayer?: boolean;
|
|
479
501
|
options?: InputGenerateTransactionOptions;
|
|
480
502
|
}): Promise<SimpleTransaction>;
|
|
481
503
|
/**
|
|
@@ -488,6 +510,7 @@ export declare function addDigitalAssetPropertyTransaction(args: {
|
|
|
488
510
|
* @param args.propertyKey - The key of the property to be removed.
|
|
489
511
|
* @param args.digitalAssetAddress - The address of the digital asset from which the property will be removed.
|
|
490
512
|
* @param args.digitalAssetType - The type of the digital asset (optional).
|
|
513
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
491
514
|
* @param args.options - Additional options for generating the transaction (optional).
|
|
492
515
|
* @group Implementation
|
|
493
516
|
*/
|
|
@@ -497,6 +520,7 @@ export declare function removeDigitalAssetPropertyTransaction(args: {
|
|
|
497
520
|
propertyKey: string;
|
|
498
521
|
digitalAssetAddress: AccountAddressInput;
|
|
499
522
|
digitalAssetType?: MoveStructId;
|
|
523
|
+
withFeePayer?: boolean;
|
|
500
524
|
options?: InputGenerateTransactionOptions;
|
|
501
525
|
}): Promise<SimpleTransaction>;
|
|
502
526
|
/**
|
|
@@ -511,6 +535,7 @@ export declare function removeDigitalAssetPropertyTransaction(args: {
|
|
|
511
535
|
* @param args.propertyValue - The new value for the property.
|
|
512
536
|
* @param args.digitalAssetAddress - The address of the digital asset to update.
|
|
513
537
|
* @param args.digitalAssetType - (Optional) The type of the digital asset.
|
|
538
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
514
539
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
515
540
|
* @group Implementation
|
|
516
541
|
*/
|
|
@@ -522,6 +547,7 @@ export declare function updateDigitalAssetPropertyTransaction(args: {
|
|
|
522
547
|
propertyValue: PropertyValue;
|
|
523
548
|
digitalAssetAddress: AccountAddressInput;
|
|
524
549
|
digitalAssetType?: MoveStructId;
|
|
550
|
+
withFeePayer?: boolean;
|
|
525
551
|
options?: InputGenerateTransactionOptions;
|
|
526
552
|
}): Promise<SimpleTransaction>;
|
|
527
553
|
/**
|
|
@@ -536,6 +562,7 @@ export declare function updateDigitalAssetPropertyTransaction(args: {
|
|
|
536
562
|
* @param args.propertyValue - The value of the property being added.
|
|
537
563
|
* @param args.digitalAssetAddress - The address of the digital asset to which the property is being added.
|
|
538
564
|
* @param args.digitalAssetType - (Optional) The type of the digital asset.
|
|
565
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
539
566
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
540
567
|
* @group Implementation
|
|
541
568
|
*/
|
|
@@ -547,6 +574,7 @@ export declare function addDigitalAssetTypedPropertyTransaction(args: {
|
|
|
547
574
|
propertyValue: PropertyValue;
|
|
548
575
|
digitalAssetAddress: AccountAddressInput;
|
|
549
576
|
digitalAssetType?: MoveStructId;
|
|
577
|
+
withFeePayer?: boolean;
|
|
550
578
|
options?: InputGenerateTransactionOptions;
|
|
551
579
|
}): Promise<SimpleTransaction>;
|
|
552
580
|
/**
|
|
@@ -560,6 +588,7 @@ export declare function addDigitalAssetTypedPropertyTransaction(args: {
|
|
|
560
588
|
* @param args.propertyValue - The new value for the property.
|
|
561
589
|
* @param args.digitalAssetAddress - The address of the digital asset to be updated.
|
|
562
590
|
* @param args.digitalAssetType - Optional. The type of the digital asset, if not provided, defaults to the standard type.
|
|
591
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
563
592
|
* @param args.options - Optional. Additional options for generating the transaction.
|
|
564
593
|
* @group Implementation
|
|
565
594
|
*/
|
|
@@ -571,6 +600,7 @@ export declare function updateDigitalAssetTypedPropertyTransaction(args: {
|
|
|
571
600
|
propertyValue: PropertyValue;
|
|
572
601
|
digitalAssetAddress: AccountAddressInput;
|
|
573
602
|
digitalAssetType?: MoveStructId;
|
|
603
|
+
withFeePayer?: boolean;
|
|
574
604
|
options?: InputGenerateTransactionOptions;
|
|
575
605
|
}): Promise<SimpleTransaction>;
|
|
576
606
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"digitalAsset.d.ts","sourceRoot":"","sources":["../../src/internal/digitalAsset.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAoB,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;AAC7F,OAAO,EACL,SAAS,EACT,yBAAyB,EACzB,gCAAgC,EAChC,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EAEpB,YAAY,EACZ,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,QAAQ,EACT,MAAM,mBAAmB,CAAC;AAgB3B,OAAO,EACL,2BAA2B,EAG5B,MAAM,6BAA6B,CAAC;AAarC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;A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,CAAC,IAAI,EAAE;IAClE,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;IAC3B,aAAa,EAAE,aAAa,CAAC;IAC7B,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,gBAAgB,CAAC,EAAE,YAAY,CAAC;IAChC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,+BAA+B,CAAC;CAC3C,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAwB7B;AAWD;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,0CAA0C,CAAC,IAAI,EAAE;IACrE,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;IAC3B,aAAa,EAAE,aAAa,CAAC;IAC7B,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,gBAAgB,CAAC,EAAE,YAAY,CAAC;IAChC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,+BAA+B,CAAC;CAC3C,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAwB7B"}
|
|
@@ -180,6 +180,7 @@ const createCollectionAbi = {
|
|
|
180
180
|
* @param args.description - A description of the collection.
|
|
181
181
|
* @param args.name - The name of the collection.
|
|
182
182
|
* @param args.uri - The URI associated with the collection.
|
|
183
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
183
184
|
* @param args.options - Optional parameters for generating the transaction.
|
|
184
185
|
* @param args.maxSupply - The maximum supply of tokens in the collection (optional).
|
|
185
186
|
* @param args.mutableDescription - Indicates if the collection description can be changed (optional, defaults to true).
|
|
@@ -196,7 +197,7 @@ const createCollectionAbi = {
|
|
|
196
197
|
* @group Implementation
|
|
197
198
|
*/
|
|
198
199
|
export async function createCollectionTransaction(args) {
|
|
199
|
-
const { aptosConfig,
|
|
200
|
+
const { aptosConfig, creator, withFeePayer, options } = args;
|
|
200
201
|
return generateTransaction({
|
|
201
202
|
aptosConfig,
|
|
202
203
|
sender: creator.accountAddress,
|
|
@@ -222,6 +223,7 @@ export async function createCollectionTransaction(args) {
|
|
|
222
223
|
],
|
|
223
224
|
abi: createCollectionAbi,
|
|
224
225
|
},
|
|
226
|
+
withFeePayer,
|
|
225
227
|
options,
|
|
226
228
|
});
|
|
227
229
|
}
|
|
@@ -382,11 +384,12 @@ const mintDigitalAssetAbi = {
|
|
|
382
384
|
* @param [args.propertyKeys] - Optional array of property keys associated with the asset.
|
|
383
385
|
* @param [args.propertyTypes] - Optional array of property types corresponding to the asset's properties.
|
|
384
386
|
* @param [args.propertyValues] - Optional array of property values for the asset's properties.
|
|
387
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
385
388
|
* @param [args.options] - Optional transaction generation options.
|
|
386
389
|
* @group Implementation
|
|
387
390
|
*/
|
|
388
391
|
export async function mintDigitalAssetTransaction(args) {
|
|
389
|
-
const { aptosConfig, options, creator, collection, description, name, uri, propertyKeys, propertyTypes, propertyValues, } = args;
|
|
392
|
+
const { aptosConfig, options, creator, collection, description, name, uri, propertyKeys, propertyTypes, propertyValues, withFeePayer, } = args;
|
|
390
393
|
const convertedPropertyType = propertyTypes?.map((type) => PropertyTypeMap[type]);
|
|
391
394
|
return generateTransaction({
|
|
392
395
|
aptosConfig,
|
|
@@ -412,6 +415,7 @@ export async function mintDigitalAssetTransaction(args) {
|
|
|
412
415
|
],
|
|
413
416
|
abi: mintDigitalAssetAbi,
|
|
414
417
|
},
|
|
418
|
+
withFeePayer,
|
|
415
419
|
options,
|
|
416
420
|
});
|
|
417
421
|
}
|
|
@@ -429,11 +433,12 @@ const transferDigitalAssetAbi = {
|
|
|
429
433
|
* @param args.digitalAssetAddress - The address of the digital asset being transferred.
|
|
430
434
|
* @param args.recipient - The address of the account receiving the digital asset.
|
|
431
435
|
* @param args.digitalAssetType - (Optional) The type of the digital asset being transferred.
|
|
436
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
432
437
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
433
438
|
* @group Implementation
|
|
434
439
|
*/
|
|
435
440
|
export async function transferDigitalAssetTransaction(args) {
|
|
436
|
-
const { aptosConfig, sender, digitalAssetAddress, recipient, digitalAssetType, options } = args;
|
|
441
|
+
const { aptosConfig, sender, digitalAssetAddress, recipient, digitalAssetType, withFeePayer, options } = args;
|
|
437
442
|
return generateTransaction({
|
|
438
443
|
aptosConfig,
|
|
439
444
|
sender: sender.accountAddress,
|
|
@@ -443,6 +448,7 @@ export async function transferDigitalAssetTransaction(args) {
|
|
|
443
448
|
functionArguments: [AccountAddress.from(digitalAssetAddress), AccountAddress.from(recipient)],
|
|
444
449
|
abi: transferDigitalAssetAbi,
|
|
445
450
|
},
|
|
451
|
+
withFeePayer,
|
|
446
452
|
options,
|
|
447
453
|
});
|
|
448
454
|
}
|
|
@@ -474,12 +480,13 @@ const mintSoulBoundAbi = {
|
|
|
474
480
|
* @param [args.propertyKeys] - Optional array of property keys associated with the token.
|
|
475
481
|
* @param [args.propertyTypes] - Optional array of property types corresponding to the property keys.
|
|
476
482
|
* @param [args.propertyValues] - Optional array of property values that match the property keys and types.
|
|
483
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
477
484
|
* @param [args.options] - Optional transaction generation options.
|
|
478
485
|
* @throws Error if the counts of property keys, property types, and property values do not match.
|
|
479
486
|
* @group Implementation
|
|
480
487
|
*/
|
|
481
488
|
export async function mintSoulBoundTransaction(args) {
|
|
482
|
-
const { aptosConfig, account, collection, description, name, uri, recipient, propertyKeys, propertyTypes, propertyValues, options, } = args;
|
|
489
|
+
const { aptosConfig, account, collection, description, name, uri, recipient, propertyKeys, propertyTypes, propertyValues, withFeePayer, options, } = args;
|
|
483
490
|
if (propertyKeys?.length !== propertyValues?.length) {
|
|
484
491
|
throw new Error("Property keys and property values counts do not match");
|
|
485
492
|
}
|
|
@@ -504,6 +511,7 @@ export async function mintSoulBoundTransaction(args) {
|
|
|
504
511
|
],
|
|
505
512
|
abi: mintSoulBoundAbi,
|
|
506
513
|
},
|
|
514
|
+
withFeePayer,
|
|
507
515
|
options,
|
|
508
516
|
});
|
|
509
517
|
}
|
|
@@ -520,11 +528,12 @@ const burnDigitalAssetAbi = {
|
|
|
520
528
|
* @param args.creator - The account that is initiating the burn transaction.
|
|
521
529
|
* @param args.digitalAssetAddress - The address of the digital asset to be burned.
|
|
522
530
|
* @param args.digitalAssetType - Optional; the type of the digital asset being burned.
|
|
531
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
523
532
|
* @param args.options - Optional; additional options for generating the transaction.
|
|
524
533
|
* @group Implementation
|
|
525
534
|
*/
|
|
526
535
|
export async function burnDigitalAssetTransaction(args) {
|
|
527
|
-
const { aptosConfig, creator, digitalAssetAddress, digitalAssetType, options } = args;
|
|
536
|
+
const { aptosConfig, creator, digitalAssetAddress, digitalAssetType, withFeePayer, options } = args;
|
|
528
537
|
return generateTransaction({
|
|
529
538
|
aptosConfig,
|
|
530
539
|
sender: creator.accountAddress,
|
|
@@ -534,6 +543,7 @@ export async function burnDigitalAssetTransaction(args) {
|
|
|
534
543
|
functionArguments: [AccountAddress.from(digitalAssetAddress)],
|
|
535
544
|
abi: burnDigitalAssetAbi,
|
|
536
545
|
},
|
|
546
|
+
withFeePayer,
|
|
537
547
|
options,
|
|
538
548
|
});
|
|
539
549
|
}
|
|
@@ -550,11 +560,12 @@ const freezeDigitalAssetAbi = {
|
|
|
550
560
|
* @param args.creator - The account that is creating the transaction.
|
|
551
561
|
* @param args.digitalAssetAddress - The address of the digital asset to be frozen.
|
|
552
562
|
* @param args.digitalAssetType - (Optional) The type of the digital asset as a Move struct ID.
|
|
563
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
553
564
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
554
565
|
* @group Implementation
|
|
555
566
|
*/
|
|
556
567
|
export async function freezeDigitalAssetTransferTransaction(args) {
|
|
557
|
-
const { aptosConfig, creator, digitalAssetAddress, digitalAssetType, options } = args;
|
|
568
|
+
const { aptosConfig, creator, digitalAssetAddress, digitalAssetType, withFeePayer, options } = args;
|
|
558
569
|
return generateTransaction({
|
|
559
570
|
aptosConfig,
|
|
560
571
|
sender: creator.accountAddress,
|
|
@@ -564,6 +575,7 @@ export async function freezeDigitalAssetTransferTransaction(args) {
|
|
|
564
575
|
functionArguments: [digitalAssetAddress],
|
|
565
576
|
abi: freezeDigitalAssetAbi,
|
|
566
577
|
},
|
|
578
|
+
withFeePayer,
|
|
567
579
|
options,
|
|
568
580
|
});
|
|
569
581
|
}
|
|
@@ -579,11 +591,12 @@ const unfreezeDigitalAssetAbi = {
|
|
|
579
591
|
* @param args.creator - The account that is initiating the unfreeze transaction.
|
|
580
592
|
* @param args.digitalAssetAddress - The address of the digital asset to be unfrozen.
|
|
581
593
|
* @param args.digitalAssetType - (Optional) The type of the digital asset being unfrozen.
|
|
594
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
582
595
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
583
596
|
* @group Implementation
|
|
584
597
|
*/
|
|
585
598
|
export async function unfreezeDigitalAssetTransferTransaction(args) {
|
|
586
|
-
const { aptosConfig, creator, digitalAssetAddress, digitalAssetType, options } = args;
|
|
599
|
+
const { aptosConfig, creator, digitalAssetAddress, digitalAssetType, withFeePayer, options } = args;
|
|
587
600
|
return generateTransaction({
|
|
588
601
|
aptosConfig,
|
|
589
602
|
sender: creator.accountAddress,
|
|
@@ -593,6 +606,7 @@ export async function unfreezeDigitalAssetTransferTransaction(args) {
|
|
|
593
606
|
functionArguments: [digitalAssetAddress],
|
|
594
607
|
abi: unfreezeDigitalAssetAbi,
|
|
595
608
|
},
|
|
609
|
+
withFeePayer,
|
|
596
610
|
options,
|
|
597
611
|
});
|
|
598
612
|
}
|
|
@@ -609,11 +623,12 @@ const setDigitalAssetDescriptionAbi = {
|
|
|
609
623
|
* @param args.description - The new description for the digital asset.
|
|
610
624
|
* @param args.digitalAssetAddress - The address of the digital asset whose description is being set.
|
|
611
625
|
* @param args.digitalAssetType - (Optional) The type of the digital asset.
|
|
626
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
612
627
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
613
628
|
* @group Implementation
|
|
614
629
|
*/
|
|
615
630
|
export async function setDigitalAssetDescriptionTransaction(args) {
|
|
616
|
-
const { aptosConfig, creator, description, digitalAssetAddress, digitalAssetType, options } = args;
|
|
631
|
+
const { aptosConfig, creator, description, digitalAssetAddress, digitalAssetType, withFeePayer, options } = args;
|
|
617
632
|
return generateTransaction({
|
|
618
633
|
aptosConfig,
|
|
619
634
|
sender: creator.accountAddress,
|
|
@@ -623,6 +638,7 @@ export async function setDigitalAssetDescriptionTransaction(args) {
|
|
|
623
638
|
functionArguments: [AccountAddress.from(digitalAssetAddress), new MoveString(description)],
|
|
624
639
|
abi: setDigitalAssetDescriptionAbi,
|
|
625
640
|
},
|
|
641
|
+
withFeePayer,
|
|
626
642
|
options,
|
|
627
643
|
});
|
|
628
644
|
}
|
|
@@ -640,11 +656,12 @@ const setDigitalAssetNameAbi = {
|
|
|
640
656
|
* @param args.name - The new name to assign to the digital asset.
|
|
641
657
|
* @param args.digitalAssetAddress - The address of the digital asset to update.
|
|
642
658
|
* @param args.digitalAssetType - (Optional) The type of the digital asset, represented as a Move struct ID.
|
|
659
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
643
660
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
644
661
|
* @group Implementation
|
|
645
662
|
*/
|
|
646
663
|
export async function setDigitalAssetNameTransaction(args) {
|
|
647
|
-
const { aptosConfig, creator, name, digitalAssetAddress, digitalAssetType, options } = args;
|
|
664
|
+
const { aptosConfig, creator, name, digitalAssetAddress, digitalAssetType, withFeePayer, options } = args;
|
|
648
665
|
return generateTransaction({
|
|
649
666
|
aptosConfig,
|
|
650
667
|
sender: creator.accountAddress,
|
|
@@ -654,6 +671,7 @@ export async function setDigitalAssetNameTransaction(args) {
|
|
|
654
671
|
functionArguments: [AccountAddress.from(digitalAssetAddress), new MoveString(name)],
|
|
655
672
|
abi: setDigitalAssetNameAbi,
|
|
656
673
|
},
|
|
674
|
+
withFeePayer,
|
|
657
675
|
options,
|
|
658
676
|
});
|
|
659
677
|
}
|
|
@@ -670,11 +688,12 @@ const setDigitalAssetURIAbi = {
|
|
|
670
688
|
* @param args.uri - The new URI to be set for the digital asset.
|
|
671
689
|
* @param args.digitalAssetAddress - The address of the digital asset whose URI is being set.
|
|
672
690
|
* @param args.digitalAssetType - The optional type of the digital asset; defaults to a predefined type if not provided.
|
|
691
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
673
692
|
* @param args.options - Optional settings for generating the transaction.
|
|
674
693
|
* @group Implementation
|
|
675
694
|
*/
|
|
676
695
|
export async function setDigitalAssetURITransaction(args) {
|
|
677
|
-
const { aptosConfig, creator, uri, digitalAssetAddress, digitalAssetType, options } = args;
|
|
696
|
+
const { aptosConfig, creator, uri, digitalAssetAddress, digitalAssetType, withFeePayer, options } = args;
|
|
678
697
|
return generateTransaction({
|
|
679
698
|
aptosConfig,
|
|
680
699
|
sender: creator.accountAddress,
|
|
@@ -684,6 +703,7 @@ export async function setDigitalAssetURITransaction(args) {
|
|
|
684
703
|
functionArguments: [AccountAddress.from(digitalAssetAddress), new MoveString(uri)],
|
|
685
704
|
abi: setDigitalAssetURIAbi,
|
|
686
705
|
},
|
|
706
|
+
withFeePayer,
|
|
687
707
|
options,
|
|
688
708
|
});
|
|
689
709
|
}
|
|
@@ -708,11 +728,12 @@ const addDigitalAssetPropertyAbi = {
|
|
|
708
728
|
* @param args.propertyValue - The value of the property being added.
|
|
709
729
|
* @param args.digitalAssetAddress - The address of the digital asset to which the property is being added.
|
|
710
730
|
* @param args.digitalAssetType - The optional type of the digital asset.
|
|
731
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
711
732
|
* @param args.options - Optional transaction generation options.
|
|
712
733
|
* @group Implementation
|
|
713
734
|
*/
|
|
714
735
|
export async function addDigitalAssetPropertyTransaction(args) {
|
|
715
|
-
const { aptosConfig, creator, propertyKey, propertyType, propertyValue, digitalAssetAddress, digitalAssetType, options, } = args;
|
|
736
|
+
const { aptosConfig, creator, propertyKey, propertyType, propertyValue, digitalAssetAddress, digitalAssetType, withFeePayer, options, } = args;
|
|
716
737
|
return generateTransaction({
|
|
717
738
|
aptosConfig,
|
|
718
739
|
sender: creator.accountAddress,
|
|
@@ -727,6 +748,7 @@ export async function addDigitalAssetPropertyTransaction(args) {
|
|
|
727
748
|
],
|
|
728
749
|
abi: addDigitalAssetPropertyAbi,
|
|
729
750
|
},
|
|
751
|
+
withFeePayer,
|
|
730
752
|
options,
|
|
731
753
|
});
|
|
732
754
|
}
|
|
@@ -744,11 +766,12 @@ const removeDigitalAssetPropertyAbi = {
|
|
|
744
766
|
* @param args.propertyKey - The key of the property to be removed.
|
|
745
767
|
* @param args.digitalAssetAddress - The address of the digital asset from which the property will be removed.
|
|
746
768
|
* @param args.digitalAssetType - The type of the digital asset (optional).
|
|
769
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
747
770
|
* @param args.options - Additional options for generating the transaction (optional).
|
|
748
771
|
* @group Implementation
|
|
749
772
|
*/
|
|
750
773
|
export async function removeDigitalAssetPropertyTransaction(args) {
|
|
751
|
-
const { aptosConfig, creator, propertyKey, digitalAssetAddress, digitalAssetType, options } = args;
|
|
774
|
+
const { aptosConfig, creator, propertyKey, digitalAssetAddress, digitalAssetType, withFeePayer, options } = args;
|
|
752
775
|
return generateTransaction({
|
|
753
776
|
aptosConfig,
|
|
754
777
|
sender: creator.accountAddress,
|
|
@@ -758,6 +781,7 @@ export async function removeDigitalAssetPropertyTransaction(args) {
|
|
|
758
781
|
functionArguments: [AccountAddress.from(digitalAssetAddress), new MoveString(propertyKey)],
|
|
759
782
|
abi: removeDigitalAssetPropertyAbi,
|
|
760
783
|
},
|
|
784
|
+
withFeePayer,
|
|
761
785
|
options,
|
|
762
786
|
});
|
|
763
787
|
}
|
|
@@ -782,11 +806,12 @@ const updateDigitalAssetPropertyAbi = {
|
|
|
782
806
|
* @param args.propertyValue - The new value for the property.
|
|
783
807
|
* @param args.digitalAssetAddress - The address of the digital asset to update.
|
|
784
808
|
* @param args.digitalAssetType - (Optional) The type of the digital asset.
|
|
809
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
785
810
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
786
811
|
* @group Implementation
|
|
787
812
|
*/
|
|
788
813
|
export async function updateDigitalAssetPropertyTransaction(args) {
|
|
789
|
-
const { aptosConfig, creator, propertyKey, propertyType, propertyValue, digitalAssetAddress, digitalAssetType, options, } = args;
|
|
814
|
+
const { aptosConfig, creator, propertyKey, propertyType, propertyValue, digitalAssetAddress, digitalAssetType, withFeePayer, options, } = args;
|
|
790
815
|
return generateTransaction({
|
|
791
816
|
aptosConfig,
|
|
792
817
|
sender: creator.accountAddress,
|
|
@@ -809,6 +834,7 @@ export async function updateDigitalAssetPropertyTransaction(args) {
|
|
|
809
834
|
],
|
|
810
835
|
abi: updateDigitalAssetPropertyAbi,
|
|
811
836
|
},
|
|
837
|
+
withFeePayer,
|
|
812
838
|
options,
|
|
813
839
|
});
|
|
814
840
|
}
|
|
@@ -832,11 +858,12 @@ const addDigitalAssetTypedPropertyAbi = {
|
|
|
832
858
|
* @param args.propertyValue - The value of the property being added.
|
|
833
859
|
* @param args.digitalAssetAddress - The address of the digital asset to which the property is being added.
|
|
834
860
|
* @param args.digitalAssetType - (Optional) The type of the digital asset.
|
|
861
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
835
862
|
* @param args.options - (Optional) Additional options for generating the transaction.
|
|
836
863
|
* @group Implementation
|
|
837
864
|
*/
|
|
838
865
|
export async function addDigitalAssetTypedPropertyTransaction(args) {
|
|
839
|
-
const { aptosConfig, creator, propertyKey, propertyType, propertyValue, digitalAssetAddress, digitalAssetType, options, } = args;
|
|
866
|
+
const { aptosConfig, creator, propertyKey, propertyType, propertyValue, digitalAssetAddress, digitalAssetType, withFeePayer, options, } = args;
|
|
840
867
|
return generateTransaction({
|
|
841
868
|
aptosConfig,
|
|
842
869
|
sender: creator.accountAddress,
|
|
@@ -846,6 +873,7 @@ export async function addDigitalAssetTypedPropertyTransaction(args) {
|
|
|
846
873
|
functionArguments: [AccountAddress.from(digitalAssetAddress), new MoveString(propertyKey), propertyValue],
|
|
847
874
|
abi: addDigitalAssetTypedPropertyAbi,
|
|
848
875
|
},
|
|
876
|
+
withFeePayer,
|
|
849
877
|
options,
|
|
850
878
|
});
|
|
851
879
|
}
|
|
@@ -868,11 +896,12 @@ const updateDigitalAssetTypedPropertyAbi = {
|
|
|
868
896
|
* @param args.propertyValue - The new value for the property.
|
|
869
897
|
* @param args.digitalAssetAddress - The address of the digital asset to be updated.
|
|
870
898
|
* @param args.digitalAssetType - Optional. The type of the digital asset, if not provided, defaults to the standard type.
|
|
899
|
+
* @param args.withFeePayer - Whether to build a fee-payer transaction.
|
|
871
900
|
* @param args.options - Optional. Additional options for generating the transaction.
|
|
872
901
|
* @group Implementation
|
|
873
902
|
*/
|
|
874
903
|
export async function updateDigitalAssetTypedPropertyTransaction(args) {
|
|
875
|
-
const { aptosConfig, creator, propertyKey, propertyType, propertyValue, digitalAssetAddress, digitalAssetType, options, } = args;
|
|
904
|
+
const { aptosConfig, creator, propertyKey, propertyType, propertyValue, digitalAssetAddress, digitalAssetType, withFeePayer, options, } = args;
|
|
876
905
|
return generateTransaction({
|
|
877
906
|
aptosConfig,
|
|
878
907
|
sender: creator.accountAddress,
|
|
@@ -882,6 +911,7 @@ export async function updateDigitalAssetTypedPropertyTransaction(args) {
|
|
|
882
911
|
functionArguments: [AccountAddress.from(digitalAssetAddress), new MoveString(propertyKey), propertyValue],
|
|
883
912
|
abi: updateDigitalAssetTypedPropertyAbi,
|
|
884
913
|
},
|
|
914
|
+
withFeePayer,
|
|
885
915
|
options,
|
|
886
916
|
});
|
|
887
917
|
}
|