newPublish method
Implementation
@override
Future<Uint8List> newPublish(
SuiAddress signerAddress,
PublishTransaction txn
) async {
final resp = await client.request(
'unsafe_publish',
[
signerAddress,
txn.compiledModules,
txn.dependencies,
txn.gasPayment,
txn.gasBudget.toString()
]
);
return base64Decode(resp['txBytes']);
}