pip install pydedustapi
import example:
from pydedustapi import Dedust
api = Dedust()
The endpoint is used to get a list of liquidity providers for a pair.
Parameter | Information |
---|---|
address | address |
Ex:
api.get_liquidity_providers_v1(address)
The endpoint is used to get the list of user assets.
Parameter | Information |
---|---|
address | address |
Ex:
api.get_accounts_assets(address)
The endpoint is used to get the list of trades of an account.
Parameter | Information |
---|---|
address | address |
Ex:
api.get_accounts_trades(address)
The endpoint is used to get the list of available assets.
Ex:
api.get_assets()
Parameter | Information |
---|---|
symbol | symbol |
Ex:
api.get_assets_symbol(symbol)
Provides a summary on trading pairs available to CoinGecko.
Ex:
api.get_gcko_pairs()
Provides 24-hour pricing and volume information on each available market pair to CoinGecko.
Ex:
api.get_gcko_tickers()
The endpoint is used to return data on historical completed trades for a given market pair.
Parameter | Information |
---|---|
ticker_id | id |
type | buy or sell |
limit | example: 200 |
Ex:
api.get_gcko_trades(ticker_id, type, limit)
The endpoint is used to get metadata of the jetton.
Parameter | Information |
---|---|
address | jetton address |
Ex:
api.get_jettons_metadata(address)
The endpoint is used to get the list of available pools.
Ex:
api.get_pools()
The endpoint is used to get metadata of the pool.
Parameter | Information |
---|---|
address | pool address |
Ex:
api.get_pools_metadata(address)
The endpoint is used to get the list of trades in a pool.
Parameter | Information |
---|---|
address | pool address |
Ex:
api.get_pools_trades(address)
The endpoint is used to get the latest price of external assets.
Ex:
api.get_prices()
Parameter | Information |
---|---|
symbol | token symbol |
Available tokens: AAVE, BTC, DAI, ETH, MATIC, SOL, TON, TRX, TUSD, UNI, USDC, USDT, WBTC, stTON, hTON, wsTON.
Ex:
api.get_token_price('TON')