• Preparing search index...
  • The search index is not available
Lens SDK Reference
  • Lens SDK Reference
  • @lens-protocol/react-native
  • Core
  • useRateLimits

Function useRateLimits

  • useRateLimits(args): ReadResult<UserCurrentRateLimitResult, NotFoundError | UnspecifiedError>
  • Fetch the current sponsored transaction limits for the requested address and profile.

    Parameters

    • args: UserCurrentRateLimitRequest

    Returns ReadResult<UserCurrentRateLimitResult, NotFoundError | UnspecifiedError>

    Example

    const { data, error, loading } = useRateLimits({
    userAddress: '0x1234567890123456789012345678901234567890',
    });
    • Defined in packages/react/src/wallet/useRateLimits.ts:31

Settings

Member Visibility

Theme

Lens SDK Reference
  • @lens-protocol/react-web - v2.3.2
  • @lens-protocol/react-native - v2.3.2
  • @lens-protocol/client - v2.3.2