Get Active Amount
Retrieves the active making amount of a specific token held by a maker. This endpoint returns the maker’s address, the token’s contract address, and the current active amount available for order execution. This active amount reflects the portion of the maker’s assets that are deployed in liquidity provision or trading on the decentralized exchange, providing crucial insight into market depth and the maker’s trading activity.
💡 Compute Unit Value: 140 (Fixed)
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/dex/getactiveamount
- AuthAPI key in header X-API-Key
Query parameters
The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more here.
The public address of the maker (user) whose active amount is being queried.
The address of the token for which the active amount is to be retrieved.
Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"address": "0xB409cB0b5DB9f148d0bc491E140D9E0FDd789C11",
"tokenAddress": "0x853d955acef822db058eb8505911ed77f175b99e",
"activeMakingAmount": "400000000000000"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.