Users
Raffle users related API endpoints.
For query parameter chain
see supported chains here
Get all tickets for user in a pot
Total number of tickets for user in the current pot
GET
https://api.rpslabs/v1/user/{address}/pot/current
Returns all tickets that user has in the current pot.
Query Parameters
Name
Type
Description
chain*
String
Blockchain hosting the raffle contract
Headers
Name
Type
Description
Authorization*
API Key
Total number of tickets for user in a pot
GET
https://api.rpslabs/v1/user/{address}/pot/{pot_id}
Returns all tickets that user has in the pot specified by pot_id
.
Query Parameters
Name
Type
Description
chain*
String
Blockchain hosting the raffle contract
Headers
Name
Type
Description
Authorization*
API Key
Last updated