Skip to main content

Fee Estimates

Trade Transfer Commitments Fee Estimates (v1.0.0)

Download OpenAPI specification:Download

API Documentation for Trade Transfer Commitments Fee Estimates

CommitmentSettlementFeeCalc

CommitmentSettlementFeeCalc calculates the fees a market will pay for a commitment settlement using current NAVs.

Authorizations:
bearerAuth
query Parameters
settlement.admin
string (admin)

admin is the account with "settle" permission requesting this settlement.

settlement.marketId
integer (market_id)

market_id is the numerical identifier of the market requesting this settlement.

settlement.inputs.account
string (account)

account is the bech32 address string of the account associated with the amount.

settlement.inputs.amount.denom
string (denom)

(proto string)

settlement.inputs.amount.amount
string (amount)

(proto string)

settlement.eventTag
string (event_tag)

event_tag is a string that is included in the funds-committed/released events. Max length is 100 characters.

includeBreakdownFields
boolean (include_breakdown_fields)

include_breakdown_fields controls the fields that are populated in the response. If false, only the exchange_fees field is populated. If true, all of the fields are populated as possible. If the settlement does not have any inputs, this field defaults to true.

Responses

Response samples

Content type
application/json
{
  • "exchangeFees": [
    ],
  • "inputTotal": [
    ],
  • "convertedTotal": [
    ],
  • "conversionNavs": [
    ],
  • "toFeeNav": {
    }
}