Fees
API Gas fee structure
gas_per_action: the gas price for the specific action
fee_token: symbol of token in which the gas fee will be settled
max_gas_price: the maximum price per 1 quantity of gas the user is willing to spend
conversion_rate [base_token, fee_token]:
shows how many base chain tokens a user can get for the fee_token amount
if the fee_token is the actual base currency of the chain then the conversion rate will be [1,1]
otherwise -> [base_token, fee_token]
API Fixed fee structure:
recipient: Recipient address for the fee (Starknet address)
maker_pbips: The maker fee is 2bps of the notional size traded
taker_pbips: The taker fee is 10bps of the notional size traded
apply_to_receipt_amount: from what amount fixed fees would be taken:
received amount of the trade
spend amount of the trade
Last updated