Rights are baking rights on the Tezos blockchain. Some rights (ex. baking rights, endorsing rights, etc.) are calculated based on the total balance that an account has been delegated to. For more information see the Rights API documentation on tzKT.
Fetches total number of stored rights from tzKT.
get rights count.
Usage
let type: string = 'baking'; let status: string = 'realized' let parameters: GetRightsParameters = {'type': type, 'status': status}; let rightCount: number = await Right.count(parameters);
Returns the total number of stored rights.
Fetches baking rights from tzKT.
get rights.
let type: string = 'baking'; let status: string = 'realized' let parameters: GetRightsParameters = {'type': type, 'status': status}; let rights: Right[] = await Right.get(parameters);
Returns a list of rights.
Generated using TypeDoc
Rights are baking rights on the Tezos blockchain. Some rights (ex. baking rights, endorsing rights, etc.) are calculated based on the total balance that an account has been delegated to. For more information see the Rights API documentation on tzKT.