Skip to content

chore(pricefeed) Add Fees page #621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pages/entropy/current-fees.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import FeeTable from "../../components/FeeTable";
import EntropyFeeTable from "../../components/EntropyFeeTable";
import { EntropyDeployments } from "../../components/EntropyDeployments";

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

## Mainnet

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

## Testnet

<FeeTable
<EntropyFeeTable
deployments={Object.fromEntries(
Object.entries(EntropyDeployments).filter(
([k, v]) => v.network === "testnet" && v.rpc !== undefined
Expand Down
1 change: 1 addition & 0 deletions pages/price-feeds/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

"api-reference": "API Reference",
"price-feeds": "Price Feeds",
"current-fees": "Current Fees",
"sponsored-feeds": "Sponsored Feeds",
"market-hours": "Market Hours",
"best-practices": "Best Practices",
Expand Down
23 changes: 23 additions & 0 deletions pages/price-feeds/current-fees.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { Callout } from "nextra/components";

# Current Fees

The following tables shows the total fees payable when updating a price feed.
Please note the fees shown below is the amount paid in `msg.value` per price feed update.

<Callout type="info" emoji="💡">
**Note**: The default fee of all chains **not** mentioned below is **1** of
the smallest denomination of the blockchain's native token (e.g., **1 wei on
Ethereum**).
</Callout>

| **Network** | **Fees** |
| ----------- | ---------------- |
| Aurora | 0.000003 **ETH** |
| Avalanche | 0.00025 **AVAX** |
| Conflux | 0.1 **CFX** |
| Cronos | 0.06 **CRO** |
| Meter | 0.02 **MTR** |
| Ronin | 0.001 **RON** |
| Sei | 0.01 **SEI** |
| Shimmer | 1 **SMR** |
4 changes: 4 additions & 0 deletions pages/price-feeds/use-real-time-data/evm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ You may find these additional resources helpful for developing your EVM applicat

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

### Current Fees

The [Current Fees](../current-fees/) page lists the current fees for each network.

### Error Codes

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