interface NodeExtension {
    node: {
        node: ((address) => Promise<undefined | Node>);
        nodes: ((status, pagination?) => Promise<QueryNodesResponse>);
        nodesForPlan: ((id, status, pagination?) => Promise<QueryNodesForPlanResponse>);
        params: (() => Promise<undefined | Params>);
    };
}

Properties

Properties

node: {
    node: ((address) => Promise<undefined | Node>);
    nodes: ((status, pagination?) => Promise<QueryNodesResponse>);
    nodesForPlan: ((id, status, pagination?) => Promise<QueryNodesForPlanResponse>);
    params: (() => Promise<undefined | Params>);
}

Type declaration

  • node: ((address) => Promise<undefined | Node>)
      • (address): Promise<undefined | Node>
      • Parameters

        • address: string

        Returns Promise<undefined | Node>

  • nodes: ((status, pagination?) => Promise<QueryNodesResponse>)
      • (status, pagination?): Promise<QueryNodesResponse>
      • Parameters

        Returns Promise<QueryNodesResponse>

  • nodesForPlan: ((id, status, pagination?) => Promise<QueryNodesForPlanResponse>)
      • (id, status, pagination?): Promise<QueryNodesForPlanResponse>
      • Parameters

        Returns Promise<QueryNodesForPlanResponse>

  • params: (() => Promise<undefined | Params>)
      • (): Promise<undefined | Params>
      • Returns Promise<undefined | Params>

Generated using TypeDoc