Recently, Chainlink published their VRF v2. The new VRF uses subscription management app. There is a delay between the requestRandomWords and fulfillRandomWords function.
On the Goerli test net, average time is around 300 seconds. Therefore, I set a timeout of 300 seconds between request and fulfill function calls.
Is there a way to find this pending time programmatically?
In the documentation, they mention
"You can see a list of pending requests for your subscription ID in the Subscription Manager"
I wasn't able to find an API that would give me a pending time for my subscription id in chainlink docs.
What is the recommended waiting approach between requestRandomWords and FulfillRandomWords function calls?