calculateTrade

Returns exchange rate and details for a specific currency pair

POST

/trades/calculateTrade


Headers

Name

Value

Content-Type

application/json

Y_API_KEY

Public API Key

Signature

HMAC SHA256 of Body


Body

Name

Type

Description

send_name

string

Currency being sent

send_network

string

Network of currency being sent

get_name

string

Currency being received

get_network

string

Network of currency being received

send_value

 optional

number

Amount to send. If provided, get_value and available will be included in the response

commission

 optional

float

Additional commission in percent, which is considered your profit (default 0.5)


Response


Example