Fees
The Ocean Protocol defines various fees for creating a sustainability loop.
Last updated
The Ocean Protocol defines various fees for creating a sustainability loop.
Last updated
Copyright 2024 Ocean Protocol Foundation Ltd.
One transaction may have fees going to several entities, such as the market where the asset was published, or the Ocean Community. Here are all of them:
Publish Market: the market where the asset was published.
Consume Market: the market where the asset was consumed.
Provider: the entity facilitating asset consumption. May serve up data, run compute, etc.
Ocean Community: Ocean Community Wallet.
When you publish an asset on the Ocean marketplace, there are currently no charges for publishing fees
However, if you're building a custom marketplace, you have the flexibility to include a publishing fee by adding an extra transaction in the publish flow. Depending on your marketplace's unique use case, you, as the marketplace owner, can decide whether or not to implement this fee. We believe in giving you the freedom to tailor your marketplace to your specific needs and preferences.
0%
Customizable in market config.
Swap fees are incurred as a transaction cost whenever someone exchanges one type of token for another within a fixed rate exchange. These exchanges can involve swapping a datatoken for a basetoken, like OCEAN or H2O, or vice versa, where basetoken is exchanged for datatoken. The specific value of the swap fee depends on the type of token being used in the exchange.
The swap fee values are set at the smart contract level and can only be modified by the Ocean Protocol Foundation (OPF).
0.1%
0.2%
When a user exchanges a datatoken for the privilege of downloading an asset or initiating a compute job that utilizes the asset, consume fees come into play. These fees are associated with accessing an asset and include:
Publisher Market Consumption Fee
Defined during the ERC20 creation.
Defined as Address, Token, Amount. The amount is an absolute value(not a percentage).
A marketplace can charge a specified amount per order.
Eg: A market can set a fixed fee of 10 USDT per order, no matter what pricing schemas are used (fixedrate with ETH, BTC, dispenser, etc).
Consume Market Consumption Fee
A market can specify what fee it wants on the order function.
Provider Consumption Fees
Defined by the Provider for any consumption.
Expressed in: Address, Token, Amount (absolute), Timeout.
You can retrieve them when calling the initialize endpoint.
Eg: A provider can charge a fixed fee of 10 USDT per consume, irrespective of the pricing schema used (e.g., fixed rate with ETH, BTC, dispenser).
Ocean Community Fee
Ocean's smart contracts collect Ocean Community fees during order operations. These fees are reinvested in community projects and distributed to the veOCEAN holders through Data Farming.
This fee is set at the smart contract level.
It can be updated by Ocean Protocol Foundation. See details in the smart contracts.
Each of these fees plays a role in ensuring fair compensation and supporting the Ocean community.
Publisher Market
0
Customizable in market config.
Consume Market
0
Customizable in market config.
Provider
0
Ocean Community
0.03 DT
0.03 DT
Providers facilitate data consumption, initiate compute jobs, encrypt and decrypt DDOs, and verify user access to specific data assets or services.
Provider fees serve as compensation to the individuals or organizations operating their own provider instances when users request assets.
Defined by the Provider for any consumption.
Expressed in: Address, Token, Amount (absolute), Timeout.
You can retrieve them when calling the initialize endpoint.
These fees can be set as a fixed amount rather than a percentage.
Providers have the flexibility to specify the token in which the fees must be paid, which can differ from the token used in the consuming market.
Provider fees can be utilized to charge for computing resources. Consumers can select the desired payment amount based on the compute resources required to execute an algorithm within the Compute-to-Data environment, aligning with their specific needs.
Eg: A provider can charge a fixed fee of 10 USDT per consume, irrespective of the pricing schema used (e.g., fixed rate with ETH, BTC, dispenser).
Eg: A provider may impose a fixed fee of 15 DAI to reserve compute resources for 1 hour, enabling the initiation of compute jobs.
These fees play a crucial role in incentivizing individuals and organizations to operate provider instances and charge consumers based on their resource usage. By doing so, they contribute to the growth and sustainability of the Ocean Protocol ecosystem.
Token to charge the fee: PROVIDER_FEE_TOKEN
OCEAN
Customizable by the Provider Owner.
E.g. USDC
Download: COST_PER_MB
0
Customizable in the Provider envvars
.
Compute: COST_PER_MIN
Environment: 1 CPU, 60 secs max
0
Customizable in the OperatorEngine envvars
.
Compute: COST_PER_MIN
Environment: 1 CPU, 1 hour max
1.0 OCEAN/min
Customizable in the OperatorEngine envvars
.
Ocean Community
0% of the Provider fee
0% of the Provider fee.
Customizable. See details .