walletWaitForTransaction method
Future<int>
walletWaitForTransaction(
{ - required Wallet that,
- required String txHash,
- int? timeout,
- dynamic hint,
})
override
Implementation
@override
Future<int> walletWaitForTransaction(
{required Wallet that,
required String txHash,
int? timeout,
dynamic hint}) {
return handler.executeNormal(NormalTask(
callFfi: (port_) {
var arg0 =
cst_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedrust_asyncRwLockWallet(
that);
var arg1 = cst_encode_String(txHash);
var arg2 = cst_encode_opt_box_autoadd_u_32(timeout);
return wire.wire_Wallet_wait_for_transaction(port_, arg0, arg1, arg2);
},
codec: DcoCodec(
decodeSuccessData: dco_decode_u_8,
decodeErrorData: dco_decode_AnyhowException,
),
constMeta: kWalletWaitForTransactionConstMeta,
argValues: [that, txHash, timeout],
apiImpl: this,
hint: hint,
));
}