API IDs are now more flexible

Our APIs have had a small but important update to help users directly integrating with DeversiFi keep track of their orders and simplify the implementation of their integrations.

When submitting orders to DeversiFi via our submitOrder API currently returns a special DVF ID which represents the newly placed order on our platform.

Example submitOrder API response showing DVF ID

For many users running bots this was sufficient, however an often requested feature has been to allow users to imbue their own IDs into orders they place. This would allow orders to be queried, reported and cancelled by two different IDs – both the DVF order ID and a client ID.

As of now, this functionality available and accessed by sending an additional cid string parameter when submitting an order.

For example, here how an order with a client ID looks like.

Example submitOrder API response showing both DVF ID and CID

This can radically simplify checking the status of orders and even cancelling orders as the DVF ID no longer is the only source of reference for such orders. API clients no longer have to keep a lookup table / dictionary like structure when matching DVF IDs to their own internal representations of orders.

An open order containing a CID entry

We love to hear how users are building on top of DeversiFi, so if you have any feedback or requests please consider joining our Discord or on Twitter and letting us know.

Share this post

Latest Posts

FTX Collapse: The advantages of DEXs over CEXs

The collapse of the FTX crypto exchange has ignited the debate about centralised and decentralised trading platforms. However we believe the DEX vs CEX debate was settled long ago: your funds are safer on a DEX than they could ever be on a centralised exchange.

Read Article
Sign up now!Sign up to our newsletter now to hear all about rhino.fi’s upcoming mystery airdrop, new chain launches and yield opportunities and be in with a chance of winning $5000.
Sign up now!Sign up to our newsletter now to hear all about rhino.fi’s upcoming mystery airdrop, new chain launches and yield opportunities and be in with a chance of winning $5000.
Sign up now!Sign up to our newsletter now to hear all about rhino.fi’s upcoming mystery airdrop, new chain launches and yield opportunities and be in with a chance of winning $5000.
Sign up now!Sign up to our newsletter now to hear all about rhino.fi’s upcoming mystery airdrop, new chain launches and yield opportunities and be in with a chance of winning $5000.
Sign up now!Sign up to our newsletter now to hear all about rhino.fi’s upcoming mystery airdrop, new chain launches and yield opportunities and be in with a chance of winning $5000.
Sign up now!Sign up to our newsletter now to hear all about rhino.fi’s upcoming mystery airdrop, new chain launches and yield opportunities and be in with a chance of winning $5000.

Earn 19% APY on your stablecoins