- public api
- read only api
- full api
import {CoinSpotClient} from '@samuraitruong/coinspot-api'; const client = new CoinSpotClient( process.env.COINSPOT_KEY, process.env.COINSPOT_SECRET, ); const balance = await client.myBalance(); console.log(balance)
import {ReadOnlyClient} from '@samuraitruong/coinspot-api'; const client = new ReadOnlyClient( process.env.COINSPOT_KEY_READ_ONLY, process.env.COINSPOT_SECRET_READ_ONLY, ); const adaTransactions = await client.myTransactions('ada'); console.log(adaTransactions)
Auto generated document can be found here -