Check that an asset is both supported and returns a real time market price.
// Initialize the SDK
const activ = await getActiv();
// note the different credentials payload for different providers
const payload = {
provider: 'Binance',
auth: {
key: '123',
secret: '456', // optional
},
params: {
symbol: 'BTCUSDT',
},
}
// request asset
const data = await activ.getPricingAsset(payload)