Rates

You can get indicative rate

get
Get rate

https://b2b.test.daowallet.com/api/v2/crypto-action/rate
Request
Response
Request
Headers
Content-type
required
string
application/json
X-Processing-Signature
required
string
signature
X-Processing-Key
required
string
api key
Query Parameters
currency_to
required
string
USD | EUR
amount
required
number
1 for example
currency_from
required
string
ETH | BTC | USDT
Response
200: OK
{"amount":42102.2,"min_amount":"0","rate":21051.1}
400: Bad Request
{"statusCode":400,"message":"Currency must be crypto or erc20"}

CURL Example

curl "https://b2b.test.daowallet.com/api/v2/crypto-action/rate?currency_from=BTC&currency_to=EUR&amount=2" \
-H 'Content-type: application/json' \
-H 'X-Processing-Key: uUTb2r...hd5dXP' \
-H 'X-Processing-Signature: 7dff...3bdb'

For signature use empty javascript object as body {}.