legacyGasPrice function
Implementation
Future<Map<String, dynamic>> legacyGasPrice(Web3Client client) async {
final gas = await client.getGasPrice();
return {
'maxFeePerGas': gas.getInWei,
'maxPriorityFeePerGas': gas.getInWei,
};
}
Future<Map<String, dynamic>> legacyGasPrice(Web3Client client) async {
final gas = await client.getGasPrice();
return {
'maxFeePerGas': gas.getInWei,
'maxPriorityFeePerGas': gas.getInWei,
};
}