Fee Model

The details of this chapter are as follows:

  • Each can obtain data on the latest traded prices. The newly listed pairs take the initial prices as the latest traded prices

Execute an order

Fee conditions

When the order is executed, a certain amount of fee is charged in proportion to the traded amount

Fee priority

Use the coin finally obtained by the user to pay the handling fee

Fee rules

  1. Execute the order first. Remove the cryptocurrency sold and add the cryptocurrency bought in the user’s account

  2. fee = the cryptocurrency bought * feeRate

Fee parameter references

Operation

Fee rate

Deal

0.1%

Fees & Gas

Each transaction may either supply fees or gas prices, but not both.

Validator’s have a minimum gas price (multi-denom) configuration and they use this value when determining if they should include the transaction in a block during CheckTx, where gasPrices >= minGasPrices. Note, your transaction must supply fees that are greater than or equal to any of the denominations the validator requires.

Note: With such a mechanism in place, validators may start to prioritize txs by gasPrice in the mempool, so providing higher fees or gas prices may yield higher tx priority.

e.g.

okexchaincli tx send ... --fees=0.002tokt

or

okexchaincli tx send ... --gas-prices=0.00000001tokt

You need to use the --gas flag to specify the gas quantity you want to provide for this transaction, either use --gas number or --gas auto. When use --gas auto to automatic estimate gas needed, a good advice is also to provide --gas-adjustment ratio, where ratio should be 1.5 or 2.0.

Other fees

In addition to the above fees, okexchain will also charge some additional fees as Business fees for below Orders.

Module

Command

Business Fee (OKT)

Dex

List

20000

Token

Issue

2500

Mint

10

Burn

10