FLUTTER ECOSYSTEM

xclud/dart_eip1559

EIP-1559 Ethereum and Web3 market fee and gas estimation.

dart_eip1559 project cover
Stars
0
Forks
1
Last push (UTC)
Jul 4, 2023
Project status
Active
Mahdi K. Fard GitHub avatar
GITHUB User

Mahdi K. Fard ↗

Developer Advocate

Tehran, Iran
LanguagesDart

Technical topics

Packages published by this repository

Dependencies used

Dependency list 3 items

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

pub package

EIP-1559 Ethereum and Web3 market fee and gas estimation for Dart.

Getting Started

In your pubspec.yaml file add:

dependencies:
  eip1559: any

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);
}