@kyve/core-beta
Version:
🚀 The base KYVE node implementation.
13 lines (12 loc) • 480 B
TypeScript
import { Node } from "../..";
/**
* canPropose checks if the node is able to propose the next
* bundle proposal by calling a special chain query called "canPropose".
* It runs indefinitely until the query returns a valid response
*
* @method canPropose
* @param {Node} this
* @param {number} updatedAt the last update time of the current bundle proposal
* @return {Promise<boolean>}
*/
export declare function canPropose(this: Node, updatedAt: number): Promise<boolean>;