FLUTTER ECOSYSTEM

xclud/dart_eip1559

Taxa EIP-1559 Ethereum e Web3 e estimativa de gás.

Capa do projeto dart_eip1559
Stars
0
Forks
1
Último push (UTC)
4 de jul. de 2023
Status do projeto
Ativo
Mahdi K. Fard GitHub avatar
GITHUB User

Mahdi K. Fard ↗

Developer Advocate

Tehran, Iran
LinguagensDart

Tópicos técnicos

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 3 itens

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher 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);
}