CardanoBlockchainExplorer class

Cardano Blockchain Explorer url generator for common blockchain web pages. Supports both mainnet and testnet networks and i18n language translations.

Constructors

CardanoBlockchainExplorer({String baseUrl = mainnetUrl, String lang = 'en'})
CardanoBlockchainExplorer.fromNetwork(NetworkId networkId)
factory

Properties

baseUrl String
final
hashCode int
The hash code for this object.
no setterinherited
lang String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addressUrl({required String addressBech32}) String
result example: https://explorer.cardano.org/en/address?address=addr1qyvadph9dewhm8nn0lm2telukv9egd3sxayzextnrr9ephyhky2d9jpqrr83rzvpyum7gty3slchf0u9lnczfqsh2n3q8ukd37
blockUrl({required String blockIdHex32}) String
result example: https://explorer.cardano.org/en/block?id=67f5e3c6094c7c3e5a3ec82d75b6cb0e5009f9bb3b7f8bd9eab6cd248b2f5f54
epicUrl({required int epicNumber}) String
result example: https://explorer.cardano.org/en/epoch?number=268
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
transactionUrl({required String transactionIdHex32}) String

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

mainnetUrl → const String
testnetUrl → const String