blub-sdk
Version:
A modular SDK for interacting with the BLUB ecosystem on the Sui blockchain.
14 lines (13 loc) • 442 B
TypeScript
/**
* React hook to fetch and cache the user's BLUB NFT points.
*
* Internally fetches wallet and staked balances and applies a 1.6x multiplier to staked tokens.
*
* @param address - The wallet address of the user.
* @returns { points, isLoading, error }
*/
export declare function useUserBlubNftPoints(address?: string): {
points: import("./points").UserBlubNftPointsResult | undefined;
isLoading: boolean;
error: any;
};