Get a random number through Chainlink VRF v2., but it has been pending, and it has been pending for two days

Viewed 225

Obtain a random number through Chainlink VRF v2. But it has been pending, and it has been pending for two days. My link balance is enough, but it just can't be successful.

enter image description here

2 Answers

the requests are pending because your subscription is underfunded. Approximately 12 LINK is required for these two requests. Update the subscription balance, then if you let me know I'll get the transactions replayed

Chainlink VRF v2 has some subscription limits

Each subscription must maintain a minimum balance, or your requests remain pending for up to 24 hours before they expire.

You can estimate the required minimum LINK balance using the following formula where max verification gas is always 200,000.

(((Gas lane maximum * (Max verification gas + Callback gas limit)) / (1,000,000,000 Gwei/ETH)) / (ETH/LINK price)) + LINK premium = Minimum LINK

It seems that your LINK balance doesn't meet the minimum requirement.

Related