Raffle info
Raffle specific endpoints.
Last updated
Raffle specific endpoints.
Last updated
For query parameter chain
see supported chains here
GET
https://api.rpslabs/v1/ticket_price
Returns current price of one ticket in wei
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://api.rpslabs/v1/potential_ticket
Returns an amount of tickets that fee
and multiplier
of a certain action would give to a user.
Name | Type | Description |
---|---|---|
chain*
String
Blockchain hosting the raffle contract
Authorization*
API Key
chain*
String
Blockchain hosting the raffle contract
fee*
Integer
Action fee in wei
multiplier*
Integer
Ticket multiplier for certain user