Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new BlockExplorer(rpcUrls: { custom: any; delphinet: any; edonet: any; florencenet: any; granadanet: any; mainnet: any }): BlockExplorer

Properties

Readonly rpcUrls

rpcUrls: { custom: any; delphinet: any; edonet: any; florencenet: any; granadanet: any; mainnet: any }

Type declaration

Methods

Abstract getAddressLink

  • getAddressLink(address: string, network: Network): Promise<string>
  • Return a blockexplorer link for an address

    Parameters

    • address: string

      The address to be opened

    • network: Network

      The network that was used

    Returns Promise<string>

Protected getLinkForNetwork

  • getLinkForNetwork(network: Network): Promise<string>

Abstract getTransactionLink

  • getTransactionLink(transactionId: string, network: Network): Promise<string>
  • Return a blockexplorer link for a transaction hash

    Parameters

    • transactionId: string

      The hash of the transaction

    • network: Network

      The network that was used

    Returns Promise<string>

Generated using TypeDoc