Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "nodeInteraction"

Index

Type aliases

CancellablePromise

CancellablePromise<T>: Promise<T> & object

Type parameters

  • T

Functions

accountData

  • accountData(address: string, nodeUrl: string): Promise<Record<string, IDataEntry>>

accountDataByKey

  • accountDataByKey(key: string, address: string, nodeUrl: string): Promise<IDataEntry>

assetBalance

  • assetBalance(assetId: string, address: string, nodeUrl: string): Promise<any>
  • Retrieve information about specific asset account balance

    Parameters

    • assetId: string

      id of asset

    • address: string

      acryl address as base58 string

    • nodeUrl: string

      node address to ask balance from. E.g. https://nodes.acrylplatform.com/

    Returns Promise<any>

balance

  • balance(address: string, nodeUrl: string): Promise<number>

balanceDetails

  • balanceDetails(address: string, nodeUrl: string): Promise<any>
  • Retrieve full information about acryl account balance. Effective, generating etc

    Parameters

    Returns Promise<any>

broadcast

  • broadcast(tx: TTx, nodeUrl: string): Promise<any>

Const currentHeight

  • currentHeight(apiBase: string): Promise<number>

scriptInfo

  • scriptInfo(address: string, nodeUrl: string): Promise<any>

stateChanges

waitForHeight

waitForTx

waitForTxWithNConfirmations

  • waitForTxWithNConfirmations(txId: string, confirmations: number, options: INodeRequestOptions): Promise<TTx>

waitNBlocks

Generated using TypeDoc