# VRF on Base

On Base, Randoo charges a $0.002 service fee plus the gas your fulfillment uses, and refunds the rest of what you prepaid. Chainlink VRF v2.5's wrapper charges for the full callback gas limit you reserve, plus a 60% premium, and keeps what goes unused. So the more callback gas a game reserves, the more it saves on Randoo.

Randoo takes Chainlink VRF v2.5 wrapper calls on Base, so a Chainlink direct-funding consumer moves over by changing its wrapper address to `0xC66eB2e7EE91145875000Ad46B55600000000001`. It also serves the Ronin VRF and D20DAO interfaces at the same address.

## What a request costs on Base

These figures come from Base mainnet on 2026-11-11 at block 56,163,872, at the network gas price of 0.006 gwei, with ETH at $2,086 from Chainlink's ETH/USD feed. Randoo's figure is what the coordinator charged, service fee plus gas, averaged over its three latest Base fulfillments, whose callbacks used little gas. The others are each contract's own on-chain quote.

| Callback gas reserved | Randoo | Chainlink VRF v2.5 wrapper | Pyth Entropy |
| --- | --- | --- | --- |
| 250,000 | about $0.0062 | about $0.0078 | about $0.031 |
| 500,000 | about $0.0062 | about $0.0128 | about $0.031 |

Randoo's cost does not grow with the limit you reserve, only with the gas your callback uses. Chainlink's grows with the limit, so a callback that needs little gas but reserves a lot pays for the difference. Pyth Entropy's fee is `getFeeV2(gasLimit)` on its Base contract, the same at both limits. [Migrate from Pyth Entropy](/docs/pyth-entropy) compares its speed and design with Randoo's and ports a Pyth consumer. Gelato VRF also listed Base; [Migrate from Gelato VRF](/docs/gelato-vrf) covers its status and ports a `GelatoVRFConsumerBase` game.

## Moving a Chainlink consumer to Randoo

| | Chainlink VRF v2.5 | Randoo |
| --- | --- | --- |
| Wrapper address | `0xb0407dbe851f8318bd31404A49e658143C982F23` | `0xC66eB2e7EE91145875000Ad46B55600000000001` |
| Request | [`requestRandomWordsInNative`](/docs/chainlink-wrapper#requestrandomwordsinnative-reference) | The same |
| Callback | `rawFulfillRandomWords` | The same |
| Pay in | ETH or LINK | ETH. LINK quotes revert |
| Unused prepayment | Kept | Refunded to the consumer, if it can receive ETH |

[Migrate from Chainlink VRF v2.5](/docs/chainlink-wrapper) has the one-line change and the limits.

Declare the network gas price, `tx.gasprice` in the requesting transaction. [Fees and failures](/docs/gas) has the quote formula and the refund rules.

## Try it on Base Sepolia

Roll a free seed on Base Sepolia (chain ID 84532) in the [playground](/playground?network=base-sepolia) without a wallet, then check it on [/verify](/verify). On Base mainnet (chain ID 8453) the playground races Randoo against Chainlink VRF in one transaction.

_Updated 2026-11-22._
