Search packages, repositories and app categories

Package detailsv0.6.2

eip1559

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

AndroidiOSWebmacOSWindowsLinux
30-day downloads
41K
Likes
3
Pub points
150

Install package

flutter pub add eip1559

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The eip1559 package provides Ethereum EIP-1559 fee and gas estimation capabilities for Dart, enabling Web3 applications to calculate transaction fees and gas costs according to the EIP-1559 standard. It supports integration with Ethereum networks and facilitates accurate fee estimation for transactions, improving user experience in blockchain apps. The package is compatible across multiple platforms including Android, iOS, Web, macOS, Windows, and Linux.

Use cases

  • Web3 app fee calculation
  • Ethereum transaction gas estimation
  • Blockchain wallet fee prediction
  • DApp transaction cost analysis
  • Cross-platform Ethereum integration

Key features

  • EIP-1559 fee modeling
  • Gas cost estimation
  • Multi-platform support
  • Web3-compatible
  • Open-source implementation

Suitable for

  • Dart-based Web3 developers
  • Ethereum DApp creators
  • Blockchain wallet integrators
  • Crypto application builders

Considerations

  • Requires Ethereum node access
  • Depends on network conditions
  • Not for non-EIP-1559 chains
  • Limited to Ethereum ecosystem
  • Needs proper error handling in production

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package