NEAR-ecosystem affiliate earnings
Explorer API
NEAR Earnings
Affiliate fees collected by leodex.near from the NEAR Intents ecosystem
GET
NEAR-ecosystem affiliate earnings
Endpoint
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’
pageparameter; the loop stops when a page returns fewer than 100 results. - Only
cause === "TRANSFER"events frominvolved_account_id === "intents.near"are counted as fee transfers.
Response
200 - application/json
Aggregated FT transfers from intents.near to leodex.near.