Hierarchy (view full)

Constructors

  • Initializes a new instance of the Middleware class.

    Parameters

    Returns Middleware

Properties

$host: string

Methods

  • Get AEX141 contract meta-info, extensions, limits and stats.

    Parameters

    Returns Promise<Aex141Response>

  • Get AEX9 creation and meta_info information by contract id.

    Parameters

    Returns Promise<Aex9Response>

  • Get a single channel.

    Parameters

    Returns Promise<Channel>

  • Gets contract creation info.

    Parameters

    • id: `ct_${string}`

      Contract that emitted the logs Contract address

    • Optionaloptions: GetContractOptionalParams

      The options parameters.

    Returns Promise<Contract>

  • Get a single key block.

    Parameters

    • hashOrKbi: number | `kh_${string}`

      The key block encoded hash or key block index

    • Optionaloptions: GetKeyBlockOptionalParams

      The options parameters.

    Returns Promise<KeyBlock>

  • Get a micro block

    Parameters

    Returns Promise<MicroBlock>

  • Get a single name.

    Parameters

    • id: `${string}.chain` | `nm_${string}`

      The name

    • Optionaloptions: GetNameOptionalParams

      The options parameters.

    Returns Promise<Name>

  • Get name auction

    Parameters

    Returns Promise<Auction>

  • Get a single oracle.

    Parameters

    Returns Promise<Oracle>

  • Get stats.

    Parameters

    Returns Promise<Stats>

  • Gets the current syncing status of both middleware and the node

    Parameters

    Returns Promise<Status>

  • Get a single transaction.

    Parameters

    Returns Promise<Transaction>