API References

Smart Trate API References

We have given a detailed description of the method of using the inquiry API in the developer management platform. Please register the developer portal to obtain the access method of the API.

API Usage Examples#

DODO Example

Data returned from the DODO-API can be directly used to execute token transactions in the contract. However, if you wish to use your own contract, encapsulate and send data to execute token transactions, you can refer to the following code sample:

  1. DODOApiEncapsulation.sol
  2. swap-demo.js