Hierarchy (view full)

Constructors

  • Parameters

    • url: string

      Url for node API

    • options: NodeOptionalParams & {
          ignoreVersion?: boolean;
          retryCount?: number;
          retryOverallDelay?: number;
      } = {}

      Options

    Returns Node

Properties

$host: string

Methods

  • Parameters

    • Optionaloptions: OperationOptions

    Returns Promise<Status>

  • Get an account by public key after the block indicated by hash. Can be either a micro block or a keyblock hash

    Parameters

    Returns Promise<Account>

  • Get an account's next nonce; This is computed according to whatever is the current account nonce and what transactions are currently present in the transaction pool

    Parameters

    Returns Promise<NextNonceResponse>

  • Get a proof of inclusion for a contract

    Parameters

    Returns Promise<PoI>

  • Returns network ID provided by node. This method won't do extra requests on subsequent calls.

    Returns Promise<string>

  • Dry-run unsigned transactions on top of a given block. Supports all TXs except GAMetaTx, PayingForTx and OffchainTx. The maximum gas limit of all calls is capped. The maximum gas limit per request is a global node setting. Since DryRunCallReq object do not have a mandatory gas field, if not set a default value of 1000000 is being used instead.

    Parameters

    Returns Promise<DryRunResults>