@kyve/core-beta
Version:
🚀 The base KYVE node implementation.
14 lines (13 loc) • 536 B
TypeScript
import { Node } from "../..";
/**
* claimUploaderRole tries to claim the uploader role for the next bundle proposal
* round. If successfully claimed it returns true, otherwise it will
* return false. The claim is only successful if there is currently no next
* uploader on the bundle proposal, otherwise if already claimed by another
* node the tx will just be ignored.
*
* @method claimUploaderRole
* @param {Node} this
* @return {Promise<boolean>}
*/
export declare function claimUploaderRole(this: Node): Promise<boolean>;