Request parameters
orderid
- Exchange order ID created by /api/create
Response parameters
created
- Order creation timestamp
state
- Current state of the exchange, possible values: CREATED, CANCELLED, AWAITING_INPUT, CONFIRMING_INPUT, EXCHANGING, CONFIRMING_SEND, COMPLETE, REFUND_REQUEST, REFUND_PENDING, CONFIRMING_REFUND, REFUNDED
from_currency
- Currency to send
from_addr
- Address for from_currency
(this address should be deposited in order to initiate the exchange)
to_currency
- Currency to receive
to_address
- Address for to_currency
rate_mode
- Rate mode (flat
or dynamic
)
rate
- Current rate
svc_fee
- Service fee (included in the calculated amount of to_currency
)
network_fee
- Network fee (included in the calculated amount of to_currency
)
from_amount_received
- Amount of from_currency
received (null
when no amount received yet)
to_amount
- Amount of to_currency
to be sent (null
when no amount received yet)
transaction_id_received
- Transaction ID for from_currency
received (null
when no amount received yet)
transaction_id_sent
- Transaction ID for to_currency
sent (null
when exchange not finished yet)
min_input
- Minimum amount of from_currency
to deposit
max_input
- Maximum amount of from_currency
to deposit
state_error
- Current error state, if any (only present on error)
orderid
- Exchange order ID