DeSo Tokens Endpoints
Description of endpoints used for creating and on-chain trading of DeSo Tokens.
Last updated
Description of endpoints used for creating and on-chain trading of DeSo Tokens.
Last updated
Note: "DAO Coins" are now referred to as "DeSo Tokens" in all public-facing documentation, but the code and API have not yet been updated to reflect this change. For endpoints to check ownership of DeSo Tokens, see and .
POST
/api/v0/get-dao-coin-limit-orders
There are two types of markets where DeSo Tokens can be traded on the on-chain order book exchange: 1) markets where a DeSo Token is traded for $DESO, and 2) markets where a DeSo Token is traded for another DeSo Token.
This endpoint returns all open orders given two coins that can be traded against each other. At least one of the two coins must be a DeSo Token.
See for how to create new limit orders to trade DeSo Tokens.
Endpoint implementation in backend.
Name | Type | Description |
---|---|---|
POST
/api/v0/get-transactor-dao-coin-limit-orders
This endpoint returns all open orders that were created by a given transactor on the DeSo Tokens on-chain order book exchange.
Endpoint implementation in backend.
Name | Type | Description |
---|---|---|
TransactorPublicKeyBase58CheckOrUsername*
string
Public key or username of the user whose open orders we want to retrieve.
DAOCoin2CreatorPublicKeyBase58CheckOrUsername2*
string
Public key or username of the creator of the DAO, whose DeSo Token makes up the second side of the market.
An empty string here represents $DESO as the second side of the market.
DAOCoin1CreatorPublicKeyBase58CheckOrUsername*
string
Public key or username of the creator of the Token, whose DeSo Token makes up one side of a market.
An empty string here represents $DESO as one side of the market.