Make an instant swap at market rate from one currency to another. You can fetch the latest market rate using the "rates" endpoint.
The following pairs are enabled implicitly and explicitly for exchange on the Striga platform. The Ticker
column references the symbol to use when interacting with exchange functions on the platform. Please note, additional tickers may be found but trading is not allowed for "CUSTODY" only tokens such as 1INCH, MATIC, LINK, UNI, SUSHI. Only the tickers listed below can be used for trading.
Pair | Ticker |
---|---|
USDC/EUR | USDCEUR |
USDT/EUR | USDTEUR |
USDC/USDT | USDCUSDT |
BTC/USDT | BTCUSDT |
BTC/USDC | BTCUSDC |
BTC/EUR | BTCEUR |
ETH/EUR | ETHEUR |
BUSD/EUR | BUSDEUR |
BNB/EUR | BNBEUR |
Please note that the amount sent in any transaction is denominated in the lowest divisible unit of the currency being sent (Eg: cents, satoshis or wei).
v1 Minimum Trade Values
Please note that all orders will not go through unless they meet the minimum order size provided by our liquidity partners, which is usually on the order of 10 EUR equivalent.
Minimum trade values are applied on the value of the order, i.e. the amount of currency that is received as the result of a swap.
Currently the minimum order sizes are as follows -
EUR: 10,
USD: 10,
USDT: 10,
USDC: 10,
BTC: 0.001,
ETH: 0.01,
BUSD: 10,
BNB: 0.01
The API returns a property order
which contains id
, credit
, debit
and price
with sub fields respectively. The order.id
field is only present when there is a multi-currency transaction, i.e. a swap from one currency to another. In this case, the direction
and ticker
values are also present. The amountFloat
value under credit
and debit
depict the value in whole currencies (EUR, BTC etc.). The amount
value depicts the value in the smallest divisible unit.
An example response is shown below -
{
"id": "dda58a1f-0c59-41e3-a111-a621f1e211a2",
"sourceAccountId": "caf1bb1bf20ee01dd42139f7bd5993da",
"destinationAccountId": "85cb80f0d10c564d9cad5206aff645bc",
"memo": "integrate partnerships mission-critical",
"status": "CONFIRMED",
"order": {
"id": "432118ee-92ca-4d94-8db1-acb3c46e7f14",
"price": 21391,
"type": "sell",
"ticker": "BTCUSDT",
"debit": {
"currency": "BTC",
"amountFloat": 0.01,
"amount": 1000000
},
"credit": {
"currency": "USDT",
"amountFloat": 213.91,
"amount": 21391
}
}
}
Ticker interpretation
JSON TradeMap -
The following trademap can be used on your application to cleanly calculate prices on buying/selling crypto currencies according to Striga's ticker structure.
toCurrency: {
BTC: {
fromCurrency: {
EUR: {
direction: 'buy',
ticker: 'BTCEUR,
},
USDT: {
direction: 'buy',
ticker: 'BTCUSDT,
},
USDC: {
direction: 'buy',
ticker: 'BTCUSDC,
},
},
},
EUR: {
fromCurrency: {
USDT: {
direction: 'sell',
ticker: 'USDTEUR,
},
USDC: {
direction: 'sell',
ticker: 'USDCEUR,
},
BTC: {
direction: 'sell',
ticker: 'BTCEUR,
},
ETH: {
direction: 'sell',
ticker: 'ETHEUR,
},
BUSD: {
direction: 'buy',
ticker: 'BUSDEUR,
},
BNB: {
direction: 'sell',
ticker: 'BNBEUR',
},
},
},
USDT: {
fromCurrency: {
EUR: {
direction: 'buy',
ticker: 'USDTEUR,
},
USDC: {
direction: 'sell',
ticker: 'USDCUSDT,
},
BTC: {
direction: 'sell',
ticker: 'BTCUSDT,
},
},
},
USDC: {
fromCurrency: {
USDT: {
direction: 'buy',
ticker: 'USDCUSDT,
},
EUR: {
direction: 'buy',
ticker: 'USDCEUR,
},
BTC: {
direction: 'sell',
ticker: 'BTCUSDC,
},
},
},
ETH: {
fromCurrency: {
EUR: {
direction: 'buy',
ticker: 'ETHEUR,
},
},
},
BUSD: {
fromCurrency: {
EUR: {
direction: 'sell',
ticker: 'BUSDEUR,
},
},
},
BNB: {
fromCurrency: {
EUR: {
direction: 'buy',
ticker: 'BNBEUR',
},
},
},