CardanoScanBlockchainExplorer class

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

Constructors

CardanoScanBlockchainExplorer({String baseUrl = mainnetUrl})
CardanoScanBlockchainExplorer.fromNetwork(NetworkId networkId)
factory

Properties

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

Methods

addressUrl({required String addressBech32}) String
result example: https://cardanoscan.io/address/addr1v95sf69jcfhnmknvffwmfvlvnccatqwfjcyh0nlfc6gh5scta2yzg
blockUrl({required int blockNumber}) String
result example: https://cardanoscan.io/block/5805954
epicUrl({required int epicNumber}) String
result example: https://cardanoscan.io/epoch/269
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