Last updated:
0 purchases
eip1559
EIP-1559 Ethereum and Web3 market fee and gas estimation for Dart.
Getting Started #
In your pubspec.yaml file add:
dependencies:
eip1559: any
copied to clipboard
Then, in your code import and use the package:
import 'package:eip1559/eip1559.dart';
const infuraId = 'YOUR_INFURA_ID';
void main() {
const url = 'https://mainnet.infura.io/v3/$infuraId';
var rates = getGasInEIP1559(url);
print(rates);
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.