Metrics for Decentralized Exchanges

Transaction Fee Revenue in USD

The fee revenue amount paid as trading fees, denoted in USD, in a given period. This includes both protocol transaction fees and supply-side transaction fees.

API Usage: metric_name=transaction_fee_revenue_in_usd

Granularities: 1_day, 1_week, 1_month

curl --request GET \
     --url 'https://api.dantehq.com/metrics?metric_name=transaction_fee_revenue_in_usd&project=serum&granularity=1_day&date=2022-01-01' \
     --header 'Accept: application/json' \
     --header 'x-api-key: {API_KEY}'

Trader Count

The number of unique addresses that initiated at least one swap transaction in a given interval. Only the signers (originators) of transactions are counted. Individual addresses are not double-counted.

API Usage: metric_name=swap_active_users

Granularities: 1_day, 1_week, 1_month

curl --request GET \
     --url 'https://api.dantehq.com/metrics?metric_name=swap_active_users&project=lifinity&granularity=1_day&date=2022-06-01' \
     --header 'Accept: application/json' \
     --header 'x-api-key: {API_KEY}'

Liquidity Provider Count

The number of unique addresses that initiated at least one deposit transaction into a liquidity pool in a given interval. Only the signers (originators) of transactions are counted. Individual addresses are not double-counted.

API Usage: metric_name=liquidity_pool_deposit_active_users

Granularities: 1_day, 1_week, 1_month

curl --request GET \
     --url 'https://api.dantehq.com/metrics?metric_name=liquidity_pool_deposit_active_users&project=lifinity&granularity=1_day&date=2022-06-01' \
     --header 'Accept: application/json' \
     --header 'x-api-key: {API_KEY}'

Liquidity Withdrawer Count

The number of unique addresses that initiated at least one withdraw transaction from a liquidity pool in a given interval. Only the signers (originators) of transactions are counted. Individual addresses are not double-counted.

API Usage: metric_name=liquidity_pool_withdraw_active_users

Granularities: 1_day, 1_week, 1_month

curl --request GET \
     --url 'https://api.dantehq.com/metrics?metric_name=liquidity_pool_deposit_active_users&project=lifinity&granularity=1_day&date=2022-06-01' \
     --header 'Accept: application/json' \
     --header 'x-api-key: {API_KEY}'

Trading Transaction Count

The sum count of swap transactions in a given interval.

API Usage: metric_name=swap_transaction_count

Granularities: 1_day, 1_week, 1_month

curl --request GET \
     --url 'https://api.dantehq.com/metrics?metric_name=swap_transaction_count&project=lifinity&granularity=1_day&date=2022-06-01' \
     --header 'Accept: application/json' \
     --header 'x-api-key: {API_KEY}'

Liquidity Deposit Transaction Count

The sum count of deposit transactions into a liquidity pool in a given interval.

API Usage: metric_name=liquidity_pool_deposit_transaction_count

Granularities: 1_day, 1_week, 1_month

curl --request GET \
     --url 'https://api.dantehq.com/metrics?metric_name=liquidity_pool_deposit_transaction_count&project=lifinity&granularity=1_day&date=2022-06-01' \
     --header 'Accept: application/json' \
     --header 'x-api-key: {API_KEY}'

Liquidity Withdrawal Transaction Count

The sum count of withdrawal transactions from a liquidity pool in a given interval.

API Usage: metric_name=liquidity_pool_withdraw_transaction_count

Granularities: 1_day, 1_week, 1_month

curl --request GET \
     --url 'https://api.dantehq.com/metrics?metric_name=liquidity_pool_withdraw_transaction_count&project=lifinity&granularity=1_day&date=2022-06-01' \
     --header 'Accept: application/json' \
     --header 'x-api-key: {API_KEY}'

(Orca only) Trading with Regular Pools Transaction Count

The sum count of swap transactions with Orca's regular pools (non-Whirlpool) in a given interval.

API Usage: metric_name=regular_pool_swap_transaction_count

Granularities: 1_day, 1_week, 1_month

curl --request GET \
     --url 'https://api.dantehq.com/metrics?metric_name=regular_pool_swap_transaction_count&project=lifinity&granularity=1_day&date=2022-06-01' \
     --header 'Accept: application/json' \
     --header 'x-api-key: {API_KEY}'

(Orca only) Liquidity Deposit into Regular Pools Transaction Count

The sum count of deposit transactions into Orca's regular pools (non-Whirlpool) in a given interval.

API Usage: metric_name=regular_pool_deposit_transaction_count

Granularities: 1_day, 1_week, 1_month

curl --request GET \
     --url 'https://api.dantehq.com/metrics?metric_name=regular_pool_swap_transaction_count&project=lifinity&granularity=1_day&date=2022-06-01' \
     --header 'Accept: application/json' \
     --header 'x-api-key: {API_KEY}'

(Orca only) Liquidity Withdrawal from Regular Pools Transaction Count

The sum count of withdrawal transactions from Orca's regular pools (non-Whirlpool) in a given interval.

API Usage: metric_name=regular_pool_withdraw_transaction_count

Granularities: 1_day, 1_week, 1_month

curl --request GET \
     --url 'https://api.dantehq.com/metrics?metric_name=regular_pool_withdraw_transaction_count&project=lifinity&granularity=1_day&date=2022-06-01' \
     --header 'Accept: application/json' \
     --header 'x-api-key: {API_KEY}'

(Orca only) Double Dip Transaction Count

The sum count of double-dip deposit transactions with Orca's Double Dip pools (special Aquafarms that reward liquidity providers with both ORCA and a partner project's tokens) in a given interval.

API Usage: metric_name=double_dip_deposit_transaction_count

Granularities: 1_day, 1_week, 1_month

curl --request GET \
     --url 'https://api.dantehq.com/metrics?metric_name=double_dip_deposit_transaction_count&project=lifinity&granularity=1_day&date=2022-06-01' \
     --header 'Accept: application/json' \
     --header 'x-api-key: {API_KEY}'

Did this page help you?