π²VRF
VRF
// This contract is compatible with Upkeep Automation
// To use the "updateIntervalUpkeep" parameter
// "updateIntervalUpkeep" == Number of blocks
// Each "updateIntervalUpkeep" block will perform the action of requesting a random word
const { hash } = await sdk.chainlink.createVRF({
protocol,
wallet,
updateIntervalUpkeep // default: 0
})
const { contractAddress } = await sdk.transaction.getTransactionReceiptByHash({
protocol,
hash
})Last updated
