Hierarchy (View Summary)

  • ServiceClient

Constructors

  • Initializes a new instance of the Node class.

    Parameters

    Returns Node

Properties

$host: string

Methods

  • 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 a proof of inclusion for a contract

    Parameters

    Returns Promise<PoI>

  • Get the pinning transaction for the current epoch. Returns both the individual parameters as well as the parent chain type (aeternity, btc etc.), network id and a packaged 80 byte readymade payload for that chain type.

    Parameters

    Returns Promise<PinningTx>

  • 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>