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