Type Parameters

Hierarchy (View Summary)

Constructors

  • Type Parameters

    • T extends DeepRestrictToStringKeys<
          {
              docs?: string;
              name?: string;
              schema: "network.xyo.network.node";
              slug: string;
              type: NetworkNodeType;
              uri: string;
              web?: string;
          },
      > = DeepRestrictToStringKeys<
          {
              docs?: string;
              name?: string;
              schema: "network.xyo.network.node";
              slug: string;
              type: NetworkNodeType;
              uri: string;
              web?: string;
          },
      >

    Parameters

    • payload: T

    Returns NetworkNodePayloadWrapper<T>

Properties

payload: T
loaderFactory: null | PayloadLoaderFactory

Methods

  • Returns Promise<Lowercase<string>>

  • Returns Promise<Error[]>

  • Returns Promise<boolean>

  • Returns string

  • Returns Promise<Error[]>

  • Parameters

    • address: Lowercase<string>

    Returns Promise<null | PayloadDataWrapper<DeepRestrictToStringKeys<{ schema: string }>>>

  • Type Parameters

    Parameters

    • Optionalpayload: unknown

    Returns undefined | PayloadDataWrapper<T>

  • Type Parameters

    Parameters

    • obj: unknown

    Returns undefined | PayloadDataWrapper<T>

  • Type Parameters

    Parameters

    • Optionalpayload: T | PayloadDataWrapper<T>

    Returns PayloadDataWrapper<T>

  • Type Parameters

    Parameters

    • payloads: (T | PayloadDataWrapper<T>)[]

    Returns Promise<Record<string, PayloadDataWrapper<T>>>