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.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"LeoKit Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"favicon":"https://mintcdn.com/leo-fd15e579/FFRM78pwDSfHuRKI/favicon.svg?fit=max\u0026auto=format\u0026n=FFRM78pwDSfHuRKI\u0026q=85\u0026s=d7dab39eedf44deb6cd5cbbaeefb125a","logo":{"light":"https://mintcdn.com/leo-fd15e579/FFRM78pwDSfHuRKI/images/leokit.svg?fit=max\u0026auto=format\u0026n=FFRM78pwDSfHuRKI\u0026q=85\u0026s=060864cd0d746e1831855e85ffe482ad","dark":"https://mintcdn.com/leo-fd15e579/FFRM78pwDSfHuRKI/images/leokit.svg?fit=max\u0026auto=format\u0026n=FFRM78pwDSfHuRKI\u0026q=85\u0026s=060864cd0d746e1831855e85ffe482ad"},"api":{"playground":{"display":"interactive"},"mdx":{"server":null,"auth":{"method":"key","name":"Api-Key"}}},"navbar":{"links":[{"label":"Support","href":"https://discord.gg/leofinance"}],"primary":{"type":"button","label":"Dashboard","href":"https://dash.leokit.dev"}},"footer":{"socials":{"x":"https://x.com/leofinanceio","github":"https://github.com/LeoFinance","discord":"https://discord.gg/leofinance"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"LeoKit Homepage","href":"https://leokit.dev","icon":"house"},{"anchor":"LeoDex Demo","href":"https://leodex.io","icon":"book-open"},{"anchor":"Blog","href":"https://leodex.io/blog","icon":"newspaper"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"leo-fd15e579","hasAudioNarration":false,"actualSubdomain":"leo-fd15e579","customDomains":["docs.leokit.dev"],"gitSource":{"type":"github","owner":"steemleo","repo":"docs","deployBranch":"main","isPrivate":true,"contentDirectory":"","mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a22016ba96dd620946bc83d","collectionId":"7a9d5277-244a-47d9-9706-479be10e0814","schemaVersion":"v2"},"entitlements":{},"buildId":"6aecec3e1f33815a81851423","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"API Reference","count":37},{"language":"default","tag":"Endpoint Details","count":19},{"language":"default","tag":"Documentation","count":14},{"language":"default","tag":"Explorer API","count":10},{"language":"default","tag":"Core Endpoints","count":8},{"language":"default","tag":"Integration Guides","count":8},{"language":"default","tag":"Guides","count":7},{"language":"default","tag":"SDK","count":6},{"language":"default","tag":"SDK Reference","count":6},{"language":"default","tag":"Reference","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/explorer/near-earnings","slug":"/api-reference/explorer/near-earnings","pageMetadata":{"title":"NEAR Earnings","description":"Affiliate fees collected by leodex.near from the NEAR Intents ecosystem","openapi":"/api-reference/openapi.json GET /explorer/near-earnings","href":"/api-reference/explorer/near-earnings"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Affiliate fees collected by leodex.near from the NEAR Intents ecosystem\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`GET /leokit/explorer/near-earnings`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`No authentication required. Cached for 10 minutes.`}),`\n`,_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`leodex.near`}),` is the LeoFinance fee-collection account for NEAR Intents. Incoming fungible-token (FT) transfers from `,_jsx(_components.code,{children:`intents.near`}),` to `,_jsx(_components.code,{children:`leodex.near`}),` represent affiliate fee payments. This endpoint aggregates all such transfers from NearBlocks (paginated until exhausted) and groups them by token contract.`]}),`\n`,_jsxs(_components.p,{children:[`USD value is computed for stablecoin contracts (USDT, USDC). Other tokens have `,_jsx(_components.code,{children:`usd_value: 0`}),` since their on-chain price is not resolved here.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"generated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-04-28T12:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total_usd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`18230.55`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"contract\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"usdt.tether-token.near\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12480.55`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"decimals\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usd_value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12480.55`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tx_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`482`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"latest_tx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"abc123...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"latest_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-04-28T11:32:11.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"contract\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5750.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"decimals\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usd_value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5750.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tx_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`215`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"latest_tx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"def456...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"latest_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-04-28T11:30:01.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total_incoming_txs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`697`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`field-reference`,children:`Field Reference`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`generated_at`})}),_jsx(_components.td,{children:`When this snapshot was built (ISO-8601)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`total_usd`})}),_jsxs(_components.td,{children:[`Sum of `,_jsx(_components.code,{children:`usd_value`}),` across all token entries`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`total_incoming_txs`})}),_jsx(_components.td,{children:`Count of qualifying FT transfers (across all tokens)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tokens[]`})}),_jsxs(_components.td,{children:[`Per-token aggregation, sorted by `,_jsx(_components.code,{children:`usd_value`}),` descending`]})]})]})]}),`\n`,_jsx(Heading,{level:`4`,id:`tokensi`,children:_jsx(_components.code,{children:`tokens[i]`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`token`})}),_jsx(_components.td,{children:`Token symbol from NearBlocks metadata`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`contract`})}),_jsx(_components.td,{children:`NEAR account ID of the token contract`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount`})}),_jsx(_components.td,{children:`Total received in human-readable units`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`decimals`})}),_jsx(_components.td,{children:`Token decimals`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`usd_value`})}),_jsxs(_components.td,{children:[`USD value (only computed for stablecoins; `,_jsx(_components.code,{children:`0`}),` otherwise)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tx_count`})}),_jsx(_components.td,{children:`Transfer count for this token`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`latest_tx`})}),_jsx(_components.td,{children:`Most recent transaction hash`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`latest_date`})}),_jsxs(_components.td,{children:[`Timestamp of `,_jsx(_components.code,{children:`latest_tx`}),` (ISO-8601)`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`caching`,children:`Caching`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`X-Cache: HIT|MISS`}),`. TTL 10 minutes.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`NearBlocks API failure`})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The cache key is shared with `,_jsx(_components.code,{children:`/leokit/explorer/stats`}),` (`,_jsx(_components.code,{children:`near_ecosystem_fees_usd`}),`) and `,_jsx(_components.code,{children:`/leokit/explorer/analytics`}),` (`,_jsx(_components.code,{children:`summary.near_ecosystem_fees_usd`}),`).`]}),`\n`,_jsxs(_components.li,{children:[`Pagination uses NearBlocks’ `,_jsx(_components.code,{children:`page`}),` parameter; the loop stops when a page returns fewer than 100 results.`]}),`\n`,_jsxs(_components.li,{children:[`Only `,_jsx(_components.code,{children:`cause === \"TRANSFER\"`}),` events from `,_jsx(_components.code,{children:`involved_account_id === \"intents.near\"`}),` are counted as fee transfers.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"NEAR Earnings","description":"Affiliate fees collected by leodex.near from the NEAR Intents ecosystem","openapi":"/api-reference/openapi.json GET /explorer/near-earnings","href":"/api-reference/explorer/near-earnings"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Field Reference","slug":"field-reference","depth":2,"children":[{"title":"tokens[i]","slug":"tokensi","depth":4,"children":[]}]},{"title":"Caching","slug":"caching","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"NEAR-ecosystem affiliate earnings","security":["304434bd-66e8-4d27-b588-715c383a3b81"],"responses":{"200":"23f06609-a185-4757-bbfb-82228d06537c"},"method":"get","type":"path","servers":["8a559953-bf50-46e9-af25-7f1a8be174e5"],"path":"/explorer/near-earnings","baseUrlOptions":["https://api.leokit.dev"],"title":"NEAR-ecosystem affiliate earnings","description":"Affiliate fees collected by leodex.near from the NEAR Intents ecosystem","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"responses":{"23f06609-a185-4757-bbfb-82228d06537c":{"description":"Aggregated FT transfers from intents.near to leodex.near.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"generated_at":{"type":"string","format":"date-time","uniqueKey":"data.generated_at","typeLabel":"string\u003cdate-time>"},"total_usd":{"type":"number","uniqueKey":"data.total_usd","typeLabel":"number"},"tokens":{"type":"array","items":{"type":"object","properties":{"token":{"type":"string","uniqueKey":"data.tokens.items.[INDEX].token","typeLabel":"string"},"contract":{"type":"string","uniqueKey":"data.tokens.items.[INDEX].contract","typeLabel":"string"},"amount":{"type":"number","uniqueKey":"data.tokens.items.[INDEX].amount","typeLabel":"number"},"decimals":{"type":"integer","uniqueKey":"data.tokens.items.[INDEX].decimals","typeLabel":"integer"},"usd_value":{"type":"number","uniqueKey":"data.tokens.items.[INDEX].usd_value","typeLabel":"number"},"tx_count":{"type":"integer","uniqueKey":"data.tokens.items.[INDEX].tx_count","typeLabel":"integer"},"latest_tx":{"type":"string","uniqueKey":"data.tokens.items.[INDEX].latest_tx","typeLabel":"string"},"latest_date":{"type":"string","format":"date-time","uniqueKey":"data.tokens.items.[INDEX].latest_date","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.tokens.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.tokens","typeLabel":"object[]"},"total_incoming_txs":{"type":"integer","uniqueKey":"data.total_incoming_txs","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"generated_at":"2023-11-07T05:31:56Z","total_usd":123,"tokens":[{"token":"\u003cstring>","contract":"\u003cstring>","amount":123,"decimals":123,"usd_value":123,"tx_count":123,"latest_tx":"\u003cstring>","latest_date":"2023-11-07T05:31:56Z"}],"total_incoming_txs":123}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"304434bd-66e8-4d27-b588-715c383a3b81":{}},"servers":{"8a559953-bf50-46e9-af25-7f1a8be174e5":{"url":"https://api.leokit.dev","description":"Production"}}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"leo-fd15e579","siteName":"LeoKit Documentation","title":"NEAR Earnings - LeoKit Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-28T16:56:13.592Z","originalFileLocation":"api-reference/explorer/near-earnings.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Affiliate fees collected by leodex.near from the NEAR Intents ecosystem\">\u003cmeta data-mint-head name=\"application-name\" content=\"LeoKit Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/leo-fd15e579/R9yEYbn0m0OCKbJv/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/leo-fd15e579/R9yEYbn0m0OCKbJv/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/leo-fd15e579/R9yEYbn0m0OCKbJv/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/leo-fd15e579/R9yEYbn0m0OCKbJv/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/leo-fd15e579/R9yEYbn0m0OCKbJv/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/leo-fd15e579/R9yEYbn0m0OCKbJv/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/leo-fd15e579/R9yEYbn0m0OCKbJv/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/leo-fd15e579/R9yEYbn0m0OCKbJv/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/leo-fd15e579/R9yEYbn0m0OCKbJv/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"NEAR Earnings - LeoKit Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Affiliate fees collected by leodex.near from the NEAR Intents ecosystem\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LeoKit Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.leokit.dev/api-reference/explorer/near-earnings\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://leo-fd15e579.mintlify.site/_mintlify/api/og/v2?division=Explorer+API\u0026amp;title=NEAR+Earnings\u0026amp;description=Affiliate+fees+collected+by+leodex.near+from+the+NEAR+Intents+ecosystem\u0026amp;theme=5b2081a8ada1c97c5313c841\u0026amp;signature=241aeeb17713e19ec20ff3832bd55acc04b64ab80819ea26d99233d13b52c88a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"NEAR Earnings - LeoKit Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Affiliate fees collected by leodex.near from the NEAR Intents ecosystem\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://leo-fd15e579.mintlify.site/_mintlify/api/og/v2?division=Explorer+API\u0026amp;title=NEAR+Earnings\u0026amp;description=Affiliate+fees+collected+by+leodex.near+from+the+NEAR+Intents+ecosystem\u0026amp;theme=5b2081a8ada1c97c5313c841\u0026amp;signature=241aeeb17713e19ec20ff3832bd55acc04b64ab80819ea26d99233d13b52c88a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/leo-fd15e579/R9yEYbn0m0OCKbJv/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LeoKit Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.leokit.dev/api-reference/explorer/near-earnings\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/explorer/near-earnings.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.leokit.dev/#organization\",\"name\":\"LeoKit Documentation\",\"url\":\"https://docs.leokit.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/leo-fd15e579/FFRM78pwDSfHuRKI/images/leokit.svg?fit=max\u0026auto=format\u0026n=FFRM78pwDSfHuRKI\u0026q=85\u0026s=060864cd0d746e1831855e85ffe482ad\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.leokit.dev#website\",\"name\":\"LeoKit Documentation\",\"url\":\"https://docs.leokit.dev\",\"publisher\":{\"@id\":\"https://docs.leokit.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.leokit.dev/api-reference/explorer/near-earnings#webpage\",\"url\":\"https://docs.leokit.dev/api-reference/explorer/near-earnings\",\"name\":\"NEAR Earnings\",\"description\":\"Affiliate fees collected by leodex.near from the NEAR Intents ecosystem\",\"dateModified\":\"2026-04-28T16:56:13.592Z\",\"isPartOf\":{\"@id\":\"https://docs.leokit.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.leokit.dev/api-reference/explorer/near-earnings#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.leokit.dev/api-reference/explorer/near-earnings#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Explorer API\",\"item\":\"https://docs.leokit.dev/api-reference/explorer/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"NEAR Earnings\",\"item\":\"https://docs.leokit.dev/api-reference/explorer/near-earnings\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.leokit.dev/api-reference/explorer/near-earnings#apireference\",\"headline\":\"NEAR Earnings\",\"name\":\"NEAR Earnings\",\"description\":\"Affiliate fees collected by leodex.near from the NEAR Intents ecosystem\",\"url\":\"https://docs.leokit.dev/api-reference/explorer/near-earnings\",\"mainEntityOfPage\":{\"@id\":\"https://docs.leokit.dev/api-reference/explorer/near-earnings#webpage\"},\"dateModified\":\"2026-04-28T16:56:13.592Z\",\"publisher\":{\"@id\":\"https://docs.leokit.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.leokit.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LeoKit Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"LeoKit Documentation","nav":{"global":{"anchors":[{"anchor":"LeoKit Homepage","href":"https://leokit.dev","icon":"house"},{"anchor":"LeoDex Demo","href":"https://leodex.io","icon":"book-open"},{"anchor":"Blog","href":"https://leodex.io/blog","icon":"newspaper"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/integrating"}]},{"tab":"API Reference","groups":[{"group":"Core Endpoints","pages":[{"title":"API Introduction","href":"/api-reference/introduction"},{"title":"Quote Endpoints","href":"/api-reference/quotes"},{"title":"Deposit Generation","href":"/api-reference/deposits"},{"title":"Transaction Management","href":"/api-reference/transactions"},{"title":"Assets \u0026 Balances","href":"/api-reference/assets-balances"},{"title":"Gas Prices","href":"/api-reference/gas-prices"},{"title":"Analytics","openapi":"/api-reference/openapi.json GET /analytics","href":"/api-reference/analytics"},{"title":"Webhooks","href":"/api-reference/webhooks"}]},{"group":"Endpoint Details","pages":[{"title":"Get Quote","openapi":"/api-reference/openapi.json GET /quote","href":"/api-reference/endpoint/get-quote"},{"title":"Streaming Quotes","openapi":"/api-reference/openapi.json GET /streaming-quotes","href":"/api-reference/endpoint/streaming-quotes"},{"title":"Generate Deposit","openapi":"/api-reference/openapi.json POST /deposit","href":"/api-reference/endpoint/generate-deposit"},{"title":"Deposit Address","openapi":"/api-reference/openapi.json POST /deposit-address","href":"/api-reference/endpoint/deposit-address"},{"title":"Simple Swap","openapi":"/api-reference/openapi.json POST /simple","href":"/api-reference/endpoint/simple"},{"title":"Notify Deposit","openapi":"/api-reference/openapi.json POST /notify-deposit","href":"/api-reference/endpoint/notify-deposit"},{"title":"Broadcast Transaction","openapi":"/api-reference/openapi.json POST /broadcast","href":"/api-reference/endpoint/broadcast"},{"title":"Transaction Status","openapi":"/api-reference/openapi.json POST /status","href":"/api-reference/endpoint/transaction-status"},{"title":"Save Transaction","openapi":"/api-reference/openapi.json POST /save-transaction","href":"/api-reference/endpoint/save-transaction"},{"title":"List Routes","openapi":"/api-reference/openapi.json GET /routes","href":"/api-reference/endpoint/routes"},{"title":"Assets","openapi":"/api-reference/openapi.json GET /assets","href":"/api-reference/endpoint/assets"},{"title":"Assets v2 (Compact Binary)","openapi":"/api-reference/openapi.json GET /v2/assets","href":"/api-reference/endpoint/v2-assets"},{"title":"Balances","openapi":"/api-reference/openapi.json POST /balances","href":"/api-reference/endpoint/balances"},{"title":"Gas Price","openapi":"/api-reference/openapi.json GET /gas-price/{asset}","href":"/api-reference/endpoint/gas-price"},{"title":"CoinJoin Queues (Dash)","openapi":"/api-reference/openapi.json GET /coinjoin/queues","href":"/api-reference/endpoint/coinjoin-queues"},{"title":"Register Webhook","openapi":"/api-reference/openapi.json POST /webhooks","href":"/api-reference/endpoint/webhook-create"},{"title":"List Webhooks","openapi":"/api-reference/openapi.json GET /webhooks","href":"/api-reference/endpoint/webhook-list"},{"title":"Delete Webhook","openapi":"/api-reference/openapi.json DELETE /webhooks","href":"/api-reference/endpoint/webhook-delete"},{"title":"Trace","openapi":"/api-reference/openapi.json GET /trace/{traceId}","href":"/api-reference/endpoint/trace"}]},{"group":"Explorer API","pages":[{"title":"Explorer API Overview","href":"/api-reference/explorer/overview"},{"title":"Search","openapi":"/api-reference/openapi.json GET /explorer/search","href":"/api-reference/explorer/search"},{"title":"Stats","openapi":"/api-reference/openapi.json GET /explorer/stats","href":"/api-reference/explorer/stats"},{"title":"Analytics","openapi":"/api-reference/openapi.json GET /explorer/analytics","href":"/api-reference/explorer/analytics"},{"title":"Transactions","openapi":"/api-reference/openapi.json GET /explorer/transactions","href":"/api-reference/explorer/transactions"},{"title":"Transaction Detail","openapi":"/api-reference/openapi.json GET /explorer/tx/{id}","href":"/api-reference/explorer/tx"},{"title":"Wallet","openapi":"/api-reference/openapi.json GET /explorer/wallet/{addr}","href":"/api-reference/explorer/wallet"},{"title":"Pools","description":"Live TVL across MAYAChain, THORChain, Chainflip, and the LEO ecosystem","openapi":"/api-reference/openapi.json GET /explorer/pools","href":"/api-reference/explorer/pools"},{"title":"NEAR Earnings","openapi":"/api-reference/openapi.json GET /explorer/near-earnings","href":"/api-reference/explorer/near-earnings"},{"title":"Onchain Lookup","description":"Raw chain-state lookup for a transaction hash on EVM or UTXO networks","openapi":"/api-reference/openapi.json GET /explorer/onchain/{chain}/{hash}","href":"/api-reference/explorer/onchain"}]}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk/getting-started"}]}]},"basePath":"","title":"NEAR Earnings - LeoKit Documentation","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Myd8dsju.js","utils-C2HkQgW0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-8rSppmTv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B6MjiCFm.js","snippetPresets-DwrSAONL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","Page-CxAy5y67.js","getPastedJson-C-VECgcL.js","icon-BPq2-Mg3.js","MethodPill-D9J5cUHd.js","DuplicateIcon-BqHaxUnD.js","createIcon-CIbcZHp9.js","DynamicMarkdown-BKiHAm_d.js","SectionHeading-DstQXt3H.js","axios-vUo_bRtp.js","Markdown-CpxgzsKA.js","clsx-C5EfhVm0.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CJ9Oly2E.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Mk6P3qvh.js"]}