https://api.snaptrade.com/api/v1/currencies
Returns a list of all defined Currency objects.
1import { Snaptrade } from "snaptrade-typescript-sdk";2 3const snaptrade = new Snaptrade({4 clientId: "PARTNER_CLIENT_ID",5 consumerKey: "CONSUMER_KEY",6});7 8const response =9 await snaptrade.referenceData.listAllCurrencies();10console.log(response.data);
array of objects
object
Describes a currency object.
id
string (format: uuid)
Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
code
string
The ISO-4217 currency code for the currency.
name
A human-friendly name of the currency.
1[2 {3 "id": "87b24961-b51e-4db8-9226-f198f6518a89",4 "code": "USD",5 "name": "US Dollar"6 }7]