Skip to Content

Add Contracts to subscription

After creating your subscription and configuring gas settings, you need to whitelist your consumer contracts. Only whitelisted contracts can request random numbers from your subscription.

Important: Make sure you’ve read the Gas Configuration page first. Understanding gas settings is crucial before adding contracts and funds, as your contract-level gas configuration directly impacts performance, costs, and minimum balance requirements


Remove Contracts from subscription

You can remove already whitelisted contracts via subscription manager UI or via onchain function.

// Remove contract from whitelist removeContractFromWhitelist(contractAddress);
Last updated on