interface PlanExtension {
    plan: {
        plan: ((id) => Promise<undefined | Plan>);
        plans: ((status, pagination?) => Promise<QueryPlansResponse>);
        plansForProvide: ((address, pagination?) => Promise<QueryPlansForProviderResponse>);
    };
}

Properties

Properties

plan: {
    plan: ((id) => Promise<undefined | Plan>);
    plans: ((status, pagination?) => Promise<QueryPlansResponse>);
    plansForProvide: ((address, pagination?) => Promise<QueryPlansForProviderResponse>);
}

Type declaration

  • plan: ((id) => Promise<undefined | Plan>)
      • (id): Promise<undefined | Plan>
      • Parameters

        • id: Long

        Returns Promise<undefined | Plan>

  • plans: ((status, pagination?) => Promise<QueryPlansResponse>)
      • (status, pagination?): Promise<QueryPlansResponse>
      • Parameters

        Returns Promise<QueryPlansResponse>

  • plansForProvide: ((address, pagination?) => Promise<QueryPlansForProviderResponse>)
      • (address, pagination?): Promise<QueryPlansForProviderResponse>
      • Parameters

        Returns Promise<QueryPlansForProviderResponse>

Generated using TypeDoc