final transaction = Transaction(
from: EthereumAddress.fromHex(metamaskConnector.accounts.first),
to: EthereumAddress.fromHex('0x13158486860B81Dee9e43Dd0391e61c2F82B577F'),
value: EtherAmount.inWei(BigInt.from(10000000000000000)),
maxGas: 100000,
gasPrice: EtherAmount.inWei(BigInt.from(1000000000)),
);
metamaskConnector
.sendTransaction(transaction, metamaskConnector.accounts.first)
.then((onValue) => {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text('Transaction signed: $onValue'),
),
)
});