newTransferObject method
Future<Uint8List>
newTransferObject(
- SuiAddress signerAddress,
- TransferObjectTransaction txn
override
Implementation
@override
Future<Uint8List> newTransferObject(
SuiAddress signerAddress,
TransferObjectTransaction txn
) async {
final resp = await client.request(
'unsafe_transferObject',
[
signerAddress,
txn.objectId,
txn.gasPayment,
txn.gasBudget.toString(),
txn.recipient
]
);
return base64Decode(resp['txBytes']);
}