Hierarchy (view full)

  • ServiceClient

Constructors

  • Initializes a new instance of the Node class.

    Parameters

    Returns Node

Properties

$host: string

Methods

  • Get an account by public key

    Parameters

    Returns Promise<Account>

  • 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 by public key after the opening key block of the generation at height

    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 channel by public key

    Parameters

    Returns Promise<Channel>

  • Get a contract by pubkey

    Parameters

    Returns Promise<ContractObject>

  • Get contract code by pubkey

    Parameters

    Returns Promise<ByteCode>

  • Get a proof of inclusion for a contract

    Parameters

    Returns Promise<PoI>

  • Get the currency metadata of a node

    Parameters

    Returns Promise<Currency>

  • Get a key block by hash

    Parameters

    Returns Promise<KeyBlock>

  • Get a key block by height

    Parameters

    Returns Promise<KeyBlock>

  • Get a micro block transaction by hash and index

    Parameters

    Returns Promise<SignedTx>

  • Get name entry from naming system

    Parameters

    Returns Promise<NameEntry>

  • Get name entry from naming system

    Parameters

    Returns Promise<NameEntry>

  • Get an oracle query by public key and query ID

    Parameters

    Returns Promise<OracleQuery>

  • Get the status of a node

    Parameters

    Returns Promise<Status>

  • Get the top header (either key or micro block)

    Parameters

    Returns Promise<Header>

  • Get a transaction by hash

    Parameters

    Returns Promise<SignedTx>

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