Skip to main content

Claim Rewards

POST 

/rewards/claim

Claims all the filtered undisbursed rewards for a user

Request​

Body

required

    challengeId string

    The challenge ID to filter rewards (optional)

    specifier string

    The specifier to filter rewards (optional)

    userId stringrequired

    The user ID to claim rewards for

Responses​

Success

Schema

    data

    object[]

    required

  • Array [

  • challengeId stringrequired

    The challenge ID

    specifier stringrequired

    The challenge specifier

    amount string

    The reward amount

    signatures string[]

    Transaction signatures

    error string

    Error message if claim failed

  • ]

Loading...