Constructors
constructor
Parameters
Properties
rewardsInfo
Methods
claim
- claim(): Promise<TransactionEnvelope>
Returns Promise<TransactionEnvelope>
getClaimStatusInfo
- getClaimStatusInfo(): Promise<undefined | TypeDef<IdlAccountDef, IdlTypes<Idl>>>
Returns Promise<undefined | TypeDef<IdlAccountDef, IdlTypes<Idl>>>
getRoot
- getRoot(distributor: string): Promise<{ adminAuth: string; numNodes: number; numNodesClaimed: number; root: string; totalAmount: number; totalAmountClaimed: number }>
Parameters
Returns Promise<{ adminAuth: string; numNodes: number; numNodesClaimed: number; root: string; totalAmount: number; totalAmountClaimed: number }>