mutateTokenProperties method
account
creator mutates the properties of the tokens own by tokenOwner
Implementation
Future<String> mutateTokenProperties(
AptosAccount account,
String tokenOwner,
String creator,
String collectionName,
String tokenName,
BigInt propertyVersion,
BigInt amount,
List<String> keys,
List<Uint8List> values,
List<String> types, {
BigInt? maxGasAmount,
BigInt? gasUnitPrice,
BigInt? expireTimestamp
}) {
final payload = transactionBuilder.buildTransactionPayload(
"0x3::token::mutate_token_properties",
[],
[tokenOwner, creator, collectionName, tokenName, propertyVersion, amount, keys, values, types],
);
return aptosClient.generateSignSubmitTransaction(
account,
payload,
maxGasAmount: maxGasAmount,
gasUnitPrice: gasUnitPrice,
expireTimestamp: expireTimestamp
);
}