rewards
POST /rewards/claim
Claims all the filtered undisbursed rewards for a user
Request
- Base URLhttps://api.audius.co/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"challengeId": "u",
"specifier": "7eP5n",
"userId": "7eP5n"
}Response
Success
Example response
{
"data": [
{
"challengeId": "u",
"specifier": "7eP5n",
"amount": "1000000000",
"signatures": [
"5j7s1QjmRKFuDbCWMRVRNibSV2VAAEcNKP6HWU7GwPdXkBZvhz8n4vQl7bBq8tN4Rz9x1Kj3mP5wQ8rT2Y6zA"
],
"error": "Insufficient balance"
}
]
}Changes
No recorded changes to this operation across all 11 revisions of this API.