polybrainz_etherscan 1.0.0 copy "polybrainz_etherscan: ^1.0.0" to clipboard
polybrainz_etherscan: ^1.0.0 copied to clipboard

A production-ready Dart wrapper for the Etherscan API V2, supporting 60+ EVM chains with a single API key. Features include rate limiting, caching, circuit breaker pattern, and type-safe models.

80/ 160
pub points
--
downloads

We analyzed this package 4 hours ago, and awarded it 80 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/mayankjanmejay/Polybrainz_Etherscan was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/mayankjanmejay/Polybrainz_Etherscan was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/mayankjanmejay/Polybrainz_Etherscan/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Documentation URL doesn't exist.

At the time of the analysis https://github.com/mayankjanmejay/Polybrainz_Etherscan#readme was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

288 out of 342 API elements (84.2 %) have documentation comments.

Some symbols that are missing documentation: polybrainz_etherscan, polybrainz_etherscan.AbiFunction.AbiFunction.new, polybrainz_etherscan.AbiParameter.AbiParameter.new, polybrainz_etherscan.AccountAction.value, polybrainz_etherscan.AccountApiImpl.AccountApiImpl.new.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 300 issues. Showing the first 2:

ERROR: The getter 'address' isn't defined for the type 'AccountBalance'.

bin/test_api.dart:46:25

   ╷
46 │         print('   - ${b.address.hex}: ${b.balanceInEther} ETH');
   │                         ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/test_api.dart

ERROR: The static method 'hash' can't be accessed through an instance.

bin/test_api.dart:64:32

   ╷
64 │         print('   - Hash: ${tx.hash.hex.substring(0, 20)}...');
   │                                ^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/test_api.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
collection ^1.18.0 1.19.1 1.19.1
crypto ^3.0.3 3.0.7 3.0.7
dio ^5.4.0 5.9.1 5.9.1
freezed_annotation ^3.1.0 3.1.0 3.1.0
json_annotation ^4.8.1 4.9.0 4.9.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
dio_web_adapter - 2.1.1 2.1.1
http_parser - 4.1.2 4.1.2
meta - 1.18.1 1.18.1
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 285 errors:

  • UNDEFINED_GETTER - bin/test_api.dart:46:25 - The getter 'address' isn't defined for the type 'AccountBalance'.
  • INSTANCE_ACCESS_TO_STATIC_MEMBER - bin/test_api.dart:64:32 - The static method 'hash' can't be accessed through an instance.
  • UNDEFINED_GETTER - bin/test_api.dart:64:37 - The getter 'hex' isn't defined for the type 'int Function(Object?, Object?, [Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?])'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.8, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
80
points
--
downloads

Publisher

verified publisherpolybrainz.bot

Weekly Downloads

A production-ready Dart wrapper for the Etherscan API V2, supporting 60+ EVM chains with a single API key. Features include rate limiting, caching, circuit breaker pattern, and type-safe models.

Repository (GitHub)
View/report issues

Topics

#ethereum #blockchain #etherscan #web3 #api

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

collection, crypto, dio, freezed_annotation, json_annotation

More

Packages that depend on polybrainz_etherscan