depositToWallet method
Implementation
Future<void> depositToWallet({
required BigInt value,
}) async {
var gasPrice = await this.signer.getGasPrice();
final transaction = await this.signer.sendTransaction(
TransactionRequest(
from: await this.signer.getAddress(),
to: this.contract.address,
value: value,
maxFeePerGas: gasPrice,
maxPriorityFeePerGas: gasPrice,
),
);
print(transaction);
}