Raffle info
Raffle specific endpoints.
For query parameter chain
see supported chains here
Get ticket price
Current ticket price
GET
https://api.rpslabs/v1/ticket_price
Returns current price of one ticket in wei
Query Parameters
Name
Type
Description
chain*
String
Blockchain hosting the raffle contract
Headers
Name
Type
Description
Authorization*
API Key
Potential ticket amount
Potential ticket amount
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.
Query Parameters
Name
Type
Description
chain*
String
Blockchain hosting the raffle contract
fee*
Integer
Action fee in wei
multiplier*
Integer
Ticket multiplier for certain user
Last updated