Options
All
  • Public
  • Public/Protected
  • All
Menu

Module balance

Index

Functions

Const getEtherBalances

  • getEtherBalances(network: Network, addresses: string[]): Promise<Record<string, bigint>>
  • Get Ether balances for multiple addresses.

    Parameters

    • network: Network
    • addresses: string[]

    Returns Promise<Record<string, bigint>>

Const getTokenBalances

  • getTokenBalances(network: Network, tokenAddress: string, addresses: string[]): Promise<Record<string, bigint>>
  • Get token balances for multiple addresses, for a single token contract.

    Parameters

    • network: Network
    • tokenAddress: string
    • addresses: string[]

    Returns Promise<Record<string, bigint>>

Const isEthScanSupported

  • isEthScanSupported(network: Network): Promise<boolean>
  • Check if a network is supported by eth-scan.

    Parameters

    Returns Promise<boolean>

Generated using TypeDoc