Metrics for Lending Projects

Lender Count

The number of unique addresses that initiated at least one lending (i.e. depositing into a lending pool) transaction in a given interval. Only the signers (originators) of transactions are counted.

API Usage: metric_name=lending_deposit_active_users

Granularities: 1_day, 1_week, 1_month

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

Lending Withdrawer Count

The number of unique addresses that initiated at least one lending withdrawal (i.e. withdrawing from a lending pool) transaction in a given interval. Only the signers (originators) of transactions are counted.

API Usage: metric_name=lending_withdraw_active_users

Granularities: 1_day, 1_week, 1_month

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

Borrower Count

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

API Usage: metric_name=borrowing_active_users

Granularities: 1_day, 1_week, 1_month

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

Loan Repayer Count

The number of unique addresses that initiated at least one debt repayment transaction in a given interval. Only the signers (originators) of transactions are counted.

API Usage: metric_name=loan_repayment_active_users

Granularities: 1_day, 1_week, 1_month

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

Lending Transaction Count

The sum count of lending (i.e. depositing into a lending pool) transactions in a given interval.

API Usage: metric_name=lending_deposit_transaction_count

Granularities: 1_day, 1_week, 1_month

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

Lending Withdrawal Transaction Count

The sum count of lending withdrawal (i.e. withdrawing from a lending pool) transactions in a given interval.

API Usage: metric_name=lending_withdraw_transaction_count

Granularities: 1_day, 1_week, 1_month

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

Borrowing Withdrawal Transaction Count

The sum count of borrowing transactions in a given interval.

API Usage: metric_name=borrowing_transaction_count

Granularities: 1_day, 1_week, 1_month

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

Loan Repayment Transaction Count

The sum count of loan repayment transactions in a given interval.

API Usage: metric_name=loan_repayment_transaction_count

Granularities: 1_day, 1_week, 1_month

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

Did this page help you?