Hierarchy (view full)

Constructors

Properties

$host: string

Methods

  • 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 single name.

    Parameters

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

      The name

    • Optionaloptions: GetNameOptionalParams

      The options parameters.

    Returns Promise<Name>

  • Get a single oracle.

    Parameters

    Returns Promise<Oracle>

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

    Parameters

    Returns Promise<Status>

  • Get a middleware response by path instead of a method name and arguments.

    Type Parameters

    • Response = unknown

    Parameters

    • pathWithQuery: string

      a path to request starting with /v3/

    Returns Promise<Response>

  • Send an HTTP request that is populated using the provided OperationSpec.

    Type Parameters

    • T

      The typed result of the request, based on the OperationSpec.

    Parameters

    • operationArguments: OperationArguments

      The arguments that the HTTP request's templated values will be populated from.

    • operationSpec: OperationSpec

      The OperationSpec to use to populate the httpRequest.

    Returns Promise<T>