mind-hubs-sdk
Version:
Typescript SDK to interact with MIND Hub Framework
10 lines (9 loc) • 401 B
TypeScript
/**
* Fetches the voting reward for a given cold wallet address
*
* @param coldWalletAddress - The address of the cold wallet
* @param hubId - The ID of the hub
* @returns A promise resolving to the reward earned as a bigint
* @throws {Error} If there is an issue fetching the voting reward
*/
export declare function getVotingReward(coldWalletAddress: string, hubId: number): Promise<bigint>;