Skip to main content
GET
NEAR-ecosystem affiliate earnings

Endpoint

No authentication required. Cached for 10 minutes.

Overview

leodex.near is the LeoFinance fee-collection account for NEAR Intents. Incoming fungible-token (FT) transfers from intents.near to leodex.near represent affiliate fee payments. This endpoint aggregates all such transfers from NearBlocks (paginated until exhausted) and groups them by token contract. USD value is computed for stablecoin contracts (USDT, USDC). Other tokens have usd_value: 0 since their on-chain price is not resolved here.

Response

Field Reference

tokens[i]

Caching

X-Cache: HIT|MISS. TTL 10 minutes.

Errors

Notes

  • The cache key is shared with /leokit/explorer/stats (near_ecosystem_fees_usd) and /leokit/explorer/analytics (summary.near_ecosystem_fees_usd).
  • Pagination uses NearBlocks’ page parameter; the loop stops when a page returns fewer than 100 results.
  • Only cause === "TRANSFER" events from involved_account_id === "intents.near" are counted as fee transfers.

Response

200 - application/json

Aggregated FT transfers from intents.near to leodex.near.

data
object
required