getCurrency()

Returns currency info for specified currency

Parameters

export type GetCurrencyProps = {
    currencyId: string;
}

Examples

const currency = await assetlayer.currencies.getCurrency({
    currencyId: 'currencyId'
});

Return Types

type ReturnType = Currency;
Currency

Alternatives

info()

Last updated