Skip to main content
POST
Request Random Numbers

Params

string
default:"fantom_testnet"
required
The blockchain network to retrieve random numbers from
integer
default:"1"
required
The quantity of random numbers to retrieve from Chainlink
integer
default:"1"
The number of block confirmations required before returning data
string
The Keccak256 hash of a unique parameter

Response

object
boolean
Indicates whether the request was successful
string
The unique request ID assigned by Chainlink
string
The transaction hash of the request on the blockchain
string
The URL to the transaction details on the blockchain explorer
array
An array containing the retrieved random numbers

Chainlink VRF V2 Tutorial

Learn how to integrate Chainlink VRF V2 with 0xCord