claimWithCaptchaResponse

claimWithCaptchaResponse is a method on the faucet object that claims tokens directly using a captcha response. This method combines captcha verification and token claiming in a single step.

claimWithCaptchaResponse does not require authentication.

Examples

claimWithCaptchaResponse

const result = await ario.faucet.claimWithCaptchaResponse({
    captchaResponse: 'captcha_response_token_here',
    recipient: '7oqF5r...LbpfT7',
    quantity: 1000000000
});

Parameters

ParameterTypeDescriptionOptional
captchaResponsestring

The captcha response from solving the captcha challenge

false
recipientstringThe wallet address to receive the claimed tokensfalse
quantitynumberThe quantity of tokens to claimfalse

Output

{
  "id": "claim_123456789",
  "success": true
}

Was this page helpful?