FLUTTER ECOSYSTEM

xclud/dart_eip1559

EIP-1559 以太坊和 Web3 市场费用及 gas 预估。

dart_eip1559 项目封面
Stars
0
Forks
1
最近推送(UTC)
2023年7月4日
项目状态
未归档
Mahdi K. Fard GitHub avatar
GITHUB User

Mahdi K. Fard ↗

Developer Advocate

Tehran, Iran
语言Dart

技术话题

此仓库发布的插件

使用的依赖

依赖清单 3 项

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 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);
}