You can use the API for getting price
These parameters are required to get response from the API.
"fiatCurrency" //eg: EUR
"cryptoCurrency" //eg: HIVE
"paymentMethod" //eg:sepa_bank_transfer
"partnerApiKey" //YOUR_API_KEY
"network" //mainnet
"isBuyOrSell" //BUY
"fiatAmount" / "cryptoAmount" //Any one is required
Sample Response :
"response": {
"quoteId": "e90fafc-c312-4c41-96e1-e7b024c1f5",
"conversionPrice": 1.8716840952998788,
"marketConversionPrice": 1.8752235637488837,
"slippage": 0.19,
"fiatCurrency": "EUR",
"cryptoCurrency": "HIVE",
"paymentMethod": "sepa_bank_transfer",
"processingTime": "1 to 2 days",
"fiatAmount": 26.85,
"cryptoAmount": 48.36,
"isBuyOrSell": "BUY",
"network": "mainnet",
"feeDecimal": 0.03761638733705772,
"totalFee": 1.01,
"feeBreakdown": [
{
"name": "Transak fee",
"value": 1,
"id": "transak_fee",
"ids": [
"transak_fee"
]
},
{
"name": "Network/Exchange fee",
"value": 0.01,
"id": "network_fee",
"ids": [
"network_fee"
]
}
],
"nonce": 1630225445,
"provider": ""
}
Comments
0 comments
Article is closed for comments.