0.0.4 • Published 11 months ago

yellow-changer-sdk v0.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Yellow Changer SDK

Easy to use Yellow Change API service

Install

npm i yellow-changer-sdk

Usage

Import the YellowChanger

import { YellowChanger } from 'yellow-changer-sdk'

Initialize the sdk.

const yellowChanger = new YellowChanger({
	publicApiKey: 'PUBLIC_KEY',
	secretApiKey: 'PRIVATE_KEY',
})

Instance method

  • getAllRates() : Returns all possible exchange rates
  • getDestinationList(): Returns all possible exchange destinations
  • getRatesInDirection(): Returns rates in a certain direction
  • getTradeInfo(): Returns all information about transaction
  • createTrade(): Create new trade and returns trade info
0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago