execute method
Implementation
Future<TransactionResponse?> execute({
required String to,
required BigInt value,
required List<int> data,
BigInt? gasPrice,
BigInt? gasLimit,
}) async {
await checkIfInitialized();
if (!isInitialized!) throw Exception("Smart wallet not initialized");
return await contract.send(
"execute",
[
EthereumAddress.fromHex(to),
value,
Uint8List.fromList(data),
],
);
}