Fees

Every order submitted to Anthic requires two fees:

  • An Anthic Fee which is based on the level of the user's account address and is a percentage of the sell asset
  • A fixed Settlement Fee which is based on the sell asset. This consists of a Solver Fee which is a fee paid to the solver and a Transaction Execution Fee which covers the transaction execution cost. A portion of the transaction execution fee may be rebated to the user when the transaction is executed.

To see how these fees are executed see Limit Order Subintent.

Anthic Fee

To compute the Anthic Fee, retrieve the level of the user's account using the GET /trade/account_addresses endpoint. Every level has an associated maker/taker fee percentage which can be retrieved by using the GET /trade/info endpoint. Multiply this percentage to the sell amount to get the final anthic_fee_amount.

anthic_fee_amount = anthic_fee_table[account_level].fee * sell_amount

Settlement Fee

You can retrieve the Settlement Fee by using the GET /trade/info endpoint. For a given asset, you can retrieve the solver_amount and transction_execution_amount. The sum of these two amounts is the settlement fee required for Anthic to process the order.

A portion of the transaction_execution_amount will be rebated back in the transaction if the execution cost is estimated to be lower than what was paid.

settlement_fee_amount = solver_amount + transaction_execution_amount
rebated_amount = transaction_execution_amount - estimated_transaction_execution_fee_amount