|
@@ -501,6 +501,13 @@ export const getValidators = async (
|
|
return snapshot.isSome ? snapshot.unwrap() : [];
|
|
return snapshot.isSome ? snapshot.unwrap() : [];
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+export const getPaidMembershipTermsById = (
|
|
|
|
+ api: ApiPromise,
|
|
|
|
+ hash: Hash,
|
|
|
|
+ id: PaidTermId | number
|
|
|
|
+): Promise<PaidMembershipTerms> => api.query.members.paidMembershipTermsById.at(hash, id);
|
|
|
|
+
|
|
|
|
+
|
|
// media
|
|
// media
|
|
export const getNextEntity = async (
|
|
export const getNextEntity = async (
|
|
api: ApiPromise,
|
|
api: ApiPromise,
|