Skip to content

Commit ffd9006

Browse files
authored
chore(pricefeed) Add Fees page (#621)
1 parent 7bb610e commit ffd9006

File tree

6 files changed

+32
-3
lines changed

6 files changed

+32
-3
lines changed
File renamed without changes.

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pages/entropy/current-fees.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import FeeTable from "../../components/FeeTable";
1+
import EntropyFeeTable from "../../components/EntropyFeeTable";
22
import { EntropyDeployments } from "../../components/EntropyDeployments";
33

44
The following tables shows the total fees payable when using the default provider.
55
Note that the fees shown below will vary over time with prevailing gas prices on each chain.
66

77
## Mainnet
88

9-
<FeeTable
9+
<EntropyFeeTable
1010
deployments={Object.fromEntries(
1111
Object.entries(EntropyDeployments).filter(
1212
([k, v]) => v.network === "mainnet" && v.rpc !== undefined
@@ -16,7 +16,7 @@ Note that the fees shown below will vary over time with prevailing gas prices on
1616

1717
## Testnet
1818

19-
<FeeTable
19+
<EntropyFeeTable
2020
deployments={Object.fromEntries(
2121
Object.entries(EntropyDeployments).filter(
2222
([k, v]) => v.network === "testnet" && v.rpc !== undefined

pages/price-feeds/_meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
"api-reference": "API Reference",
3939
"price-feeds": "Price Feeds",
40+
"current-fees": "Current Fees",
4041
"sponsored-feeds": "Sponsored Feeds",
4142
"market-hours": "Market Hours",
4243
"best-practices": "Best Practices",

pages/price-feeds/current-fees.mdx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { Callout } from "nextra/components";
2+
3+
# Current Fees
4+
5+
The following tables shows the total fees payable when updating a price feed.
6+
Please note the fees shown below is the amount paid in `msg.value` per price feed update.
7+
8+
<Callout type="info" emoji="💡">
9+
**Note**: The default fee of all chains **not** mentioned below is **1** of
10+
the smallest denomination of the blockchain's native token (e.g., **1 wei on
11+
Ethereum**).
12+
</Callout>
13+
14+
| **Network** | **Fees** |
15+
| ----------- | ---------------- |
16+
| Aurora | 0.000003 **ETH** |
17+
| Avalanche | 0.00025 **AVAX** |
18+
| Conflux | 0.1 **CFX** |
19+
| Cronos | 0.06 **CRO** |
20+
| Meter | 0.02 **MTR** |
21+
| Ronin | 0.001 **RON** |
22+
| Sei | 0.01 **SEI** |
23+
| Shimmer | 1 **SMR** |

pages/price-feeds/use-real-time-data/evm.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ You may find these additional resources helpful for developing your EVM applicat
9999

100100
The [EVM API reference](../api-reference/evm/) lets you interactively explore the complete API of the Pyth contract.
101101

102+
### Current Fees
103+
104+
The [Current Fees](../current-fees/) page lists the current fees for each network.
105+
102106
### Error Codes
103107

104108
The [EVM error codes](../error-codes/evm/) page lists the error codes that the Pyth contract may return.

0 commit comments

Comments
 (0)