Transaction stuck at pending #152
Unanswered
aryaramadika
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
` Future transferTo(
String privateKey, {
required double amount,
required String recipientAddress,
}) async {
final credentials = EthPrivateKey.fromHex(privateKey);
final BigInt transferAmount = BigInt.from(amount * pow(10, 18));
final transactionsData = Transaction(
to: EthereumAddress.fromHex(recipientAddress, enforceEip55: false),
gasPrice: EtherAmount.inWei(BigInt.two),
maxGas: 100000,
value: EtherAmount.inWei(transferAmount),
);
}`
All reactions