BuyCoins API Guide
Search…
BuyCoins API Guide
Introduction
Tools and libraries
Rate Limits
GraphQL Basics
GraphQL: Endpoints & Schema
Authentication
Global Object Identification
Naira Token Account
Sendcash Pay Deposit
Withdrawing Naira
Orderbook Trading
Introduction
Glossary
Stream Orderbook
Post Limit Order
Post Market Order
Get Orders
Cancel Order
Get Exchange Rate
Placing Orders (DEPRECATED)
Buy
Sell
Sending
Network Fees
Send
Send Offchain
Account Balances
Limits
Receiving
Create Address
Confirmations
Webhooks
Introduction
Verification
Events
P2P Trading (Deprecated)
Introduction
Post Limit Order
Post Market Order
Get Orders
Get Market Book
Powered By
GitBook
Get Exchange Rate
Retrieve the USDT/NGNT exchange rate from the order book.
You can retrieve the current USDT/NGNT exchange rate by calling the getExchangeRate query
1
query {
2
getExchangeRates(pair: usdt_ngnt){
3
buyRate
4
sellRate
5
}
6
}
Copied!
Parameter
pair
: The
currency pair
of the exchange rate you want (currently limited to usdt_ngnt)
Response
buyRate: The current price at which you can buy
sellRate: The current price at which you can sell
Orderbook Trading - Previous
Cancel Order
Next - Placing Orders (DEPRECATED)
Buy
Last modified
27d ago
Copy link
Contents