v1

latestSwagger 2.02026-07-17232455673.4 KB
Query

CalculateForApplication returns the estimated amount of aHAQQ coins to be minted for given BurnApplication ID.

get/haqq/ethiq/v1/calculate-for-application/{applicationId}

Path parameters

applicationIdstring uint64 required

application_id is the unique ID of BurnApplication containing the amount of aISLM coins to burn in exchange for aHAQQ. using string as grpc-gateway doesn't support custom types (eg. cosmossdk.io/math.Int)

Response

A successful response.

estimatedHaqqAmountstring
supplyBeforestring
supplyAfterstring
averagePricestring
toAddressstring