Prices
In this guide, we'll teach you how to check realtime currencies prices.
const CryptumSdk = require('cryptum-sdk')
const sdk = new CryptumSdk({
environment: 'testnet', // 'testnet', 'mainnet'
apiKey: "YOUR-API-KEY-HERE",
})const prices = await sdk.prices.getPrices('BTC')Prices {
BRL: 288334.24345847557,
USD: 50689.16,
EUR: 44770.01,
ETH: 12.358597889080416,
XLM: 177731.9775596073,
MDA: 93990.65455219729,
BNB: 92.25940082268575,
XRP: 50336.80238331678,
CELO: 10304.76926204513,
BTC: 1,
HTR: 25093.643564356436,
ADA: 34909.88980716254,
AVAX: 406.391084743045
}Last updated
