Lotto Preset
Presets
Lotto Preset
API endpoint for interacting with 0xCord’s Lotto Preset
POST
Lotto Preset
Documentation Index
Fetch the complete documentation index at: https://docs.0xcord.com/llms.txt
Use this file to discover all available pages before exploring further.
Params
The blockchain network to retrieve random numbers from. Available options are
polygon_mumbai,fuji and sepolia.The preset to be used.
The amount of winners you want to get.
The list of participants or options in string format. eg: [“Adam”, “Bradley”,
“Charlie”, “David”, “Edward”, “Frank”]
Response
Indicates whether the request was successful
The hash of the VRF proof generated by Chainlink
The URL to the VRF proof event on the blockchain explorer
The unique request ID assigned by Chainlink
The random number generated by Chainlink
The parsed random number generated by Chainlink
The error message, if any
The URL to the transaction details on the blockchain explorer
0xCord's preset Tutorial
Learn how to integrate this preset with 0xCord

