You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/entropy/generate-random-numbers/evm.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ The fee differs for every chain and also varies over time depending on the chain
69
69
The current value for each chain can be found on the [Current Fees](../current-fees) page.
70
70
However, you should use the on-chain method [`getFeeV2`](https://github.com/pyth-network/pyth-crosschain/blob/main/target_chains/ethereum/entropy_sdk/solidity/IEntropy.sol#L101) to compute the required fee and send it as the value of the `requestV2` call.
71
71
72
-
These methods use the default randomness provider ([see here](#randomness-providers) for more info on providers).
72
+
These methods use the default randomness provider ([see here](#randomness-providers) for more info on providers).
73
73
74
74
```solidity copy
75
75
function requestRandomNumber() external payable {
@@ -165,6 +165,7 @@ Check the [Current Fees](../current-fees) to find the current fee for each provi
165
165
Check out the [Best Practices](../best-practices) guide for tips to limit gas usage, or generate multiple random numbers in a single transaction.
166
166
167
167
### Randomness providers
168
+
168
169
Some methods on Entropy require selecting a **randomness provider**. The randomness provider is a third-party
169
170
who participates in the generation process. Each provider is identified by an address and hosts
0 commit comments