Interface Provider

Hierarchy

  • Provider

Properties

call: (<RequestT, ResponseT, OutputT>(request) => Promise<OutputT>)

Type declaration

    • <RequestT, ResponseT, OutputT>(request): Promise<OutputT>
    • Type Parameters

      • RequestT

      • ResponseT

      • OutputT

      Parameters

      • request: default<RequestT, ResponseT, OutputT>

      Returns Promise<OutputT>

getAccountBalance: ((accountId) => Promise<AccountBalance>)

Type declaration

getAccountInfo: ((accountId) => Promise<AccountInfo>)

Type declaration

getAccountRecords: ((accountId) => Promise<TransactionRecord[]>)

Type declaration

getLedgerId: (() => null | LedgerId)

Type declaration

getMirrorNetwork: (() => string[])

Type declaration

    • (): string[]
    • Returns string[]

getNetwork: (() => {
    [key: string]: string | AccountId;
})

Type declaration

    • (): {
          [key: string]: string | AccountId;
      }
    • Returns {
          [key: string]: string | AccountId;
      }

      • [key: string]: string | AccountId
getTransactionReceipt: ((transactionId) => Promise<TransactionReceipt>)

Type declaration

waitForReceipt: ((response) => Promise<TransactionReceipt>)

Type declaration

Generated using TypeDoc