https://github.com/xclud/dart_eip1559
EIP-1559 Ethereum and Web3 market fee and gas estimation.
https://github.com/xclud/dart_eip1559
blockchain dart eip1559 ethereum flutter web3
Last synced: 3 months ago
JSON representation
EIP-1559 Ethereum and Web3 market fee and gas estimation.
- Host: GitHub
- URL: https://github.com/xclud/dart_eip1559
- Owner: xclud
- License: mit
- Created: 2023-01-16T11:44:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-04T08:30:16.000Z (about 3 years ago)
- Last Synced: 2025-01-09T05:17:10.602Z (over 1 year ago)
- Topics: blockchain, dart, eip1559, ethereum, flutter, web3
- Language: Dart
- Homepage: https://pub.dev/packages/wallet
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://pub.dartlang.org/packages/eip1559)
EIP-1559 Ethereum and Web3 market fee and gas estimation for Dart.
## Getting Started
In your `pubspec.yaml` file add:
``` yaml
dependencies:
eip1559: any
```
Then, in your code import and use the package:
``` dart
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);
}
```