-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
The following endpoints will be subject to breaking changes, endpoints will be scoped as /v2.
1. DEX /pools (evm|tvm|svm)
✅ NEW
- Pool Metadata
tokensArray (Symbol/Name/Decimals)- Query filter by
token
- Query filter by
factory_namepool_name
- Pool Statistics
uaw(unique active wallets, usinguniq_tx_fromor new MV table)transactions(total transactions per pool)last_activity(last swap activity inside this particular pool)
- Pool Creation
transaction_iddatetimetimestamp(UTC seconds)
❗ DEPRECATE
- Pool Metadata
input_tokenoutput_token
2. DEX /dexes (evm|tvm|svm)
✅ NEW
- Factory Metadata
factory_name
- Factory Statistics
pools(total count of pools)last_activity(last swap activity inside this particular pool)is_aggregator(true/false) (in case of Jupiter)
🏎️ 🌬️ PERFORMANCE
uaw(unique active wallets per factory)
3. DEX /swaps (evm|tvm|svm)
✅ NEW
- Swap Metadata
ordinal(Log event Ordinal, unique per swap within a single block)transaction_from(The wallet that initiated the transaction that contains the swap)- This field is used to compute
uaw(Unique Active Wallets)
- This field is used to compute
user(new standard for emitting the user that performed the swap)
🔖 INFO
- Native token (ETH/BNB, etc..) are defined as
0x0000000000000000000000000000000000000000token contract
❗ DEPRECATE (removed)
caller(not all chains support extracting Log events by calls, RPC poller chains would be blank for this field)- legacy Uniswap V2 fields (no longer supported in DEXs, replaced by
userfield)recipientsender
❗ DEPRECATE (moved to SDK)
https://github.com/pinax-network/token-api-sdk
- Move fields to Token API SDK (since they are all "derived" fields, reduces payload footprint)
input_valueoutput_valuepriceprice_infsummary(Allow users to provide their own Summary format via SDK)
4. DEX /pools/ohlc
- ❓ SUPPORT for multi-token handling
- Currently Tri-pools have mixed results in OHLC data
- ❓ How to handle
volumefield when stable token is either token?- Should symbol be provided to Volume? (ex:
4428564.077931 WTRX)
- Should symbol be provided to Volume? (ex:
Metadata
Metadata
Assignees
Labels
No labels