Skip to main content

user_claim

Claim available tokens for the authenticated user. This method allows users to claim tokens that they are entitled to.

Method Signature

Parameters

This method takes no parameters - it automatically claims tokens for the authenticated caller.

Response

Returns a TokenAmount (bigint) representing the amount of tokens claimed.
The returned value indicates:
  • Positive number: Amount of tokens successfully claimed
  • Zero (0n): No tokens available to claim

Example Usage

Basic Claim