Skip to main content

Order Fee Estimates

Trade Transfer Orders Order Fee Estimates (v1.0.0)

Download OpenAPI specification:Download

API Documentation for Trade Transfer Orders Order Fee Estimates

OrderFeeCalc

OrderFeeCalc calculates the fees that will be associated with the provided order.

Authorizations:
bearerAuth
query Parameters
askOrder.marketId
integer (market_id)

market_id identifies the market that this order belongs to.

askOrder.seller
string (seller)

seller is the address of the account that owns this order and has the assets to sell.

askOrder.assets.denom
string (denom)

(proto string)

askOrder.assets.amount
string (amount)

(proto string)

askOrder.allowPartial
boolean (allow_partial)

allow_partial should be true if partial fulfillment of this order should be allowed, and should be false if the order must be either filled in full or not filled at all.

askOrder.externalId
string (external_id)

external_id is an optional string used to externally identify this order. Max length is 100 characters. If an order in this market with this external id already exists, this order will be rejected.

bidOrder.marketId
integer (market_id)

market_id identifies the market that this order belongs to.

bidOrder.buyer
string (buyer)

buyer is the address of the account that owns this order and has the price to spend.

bidOrder.allowPartial
boolean (allow_partial)

allow_partial should be true if partial fulfillment of this order should be allowed, and should be false if the order must be either filled in full or not filled at all.

bidOrder.externalId
string (external_id)

external_id is an optional string used to externally identify this order. Max length is 100 characters. If an order in this market with this external id already exists, this order will be rejected.

Responses

Response samples

Content type
application/json
{
  • "creationFeeOptions": [
    ],
  • "settlementFlatFeeOptions": [
    ],
  • "settlementRatioFeeOptions": [
    ]
}