Hierarchy (View Summary)

Constructors

  • Initializes a new instance of the Middleware class.

    Parameters

    Returns Middleware

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