API Explanation

Exchange

https://newdex.io

API Request Path

https://api.newdex.io

Apply for APP_KEY

Newdex api_key needs to be binded with EOS account. Apply for Newdex Market API_KEY

How to Place Order

Since Newdex is a decentralized exchange and place order needs signature using user’s private key, while Newdex keeps clear of user’s private key, the Trade API does not include API of placing order. Users need to implement the order logic by their own. For more details please refer to How to Place Order on Newdex through Coding

How to Cancel Order

Execute contract: cleos push action newdexpublic cancelorder '{"pair_id": "$pair_id","order_id": $order_id}' -p $your_account

REST Market and Trade API

WebSocket Market and Trade API

Please stay tuned

Smart Contract API

Buy order and sell order table structure

中文文档点击这里查看