Every fee, tax, tip and rebate one swap paid, with who paid it and who received it. Present on Confirmed swap events on networks where the fee ledger is switched on. Null on older events, on Processed events, and on mints and burns. totalFeesUsd is the sum of swapShareUsd over entries where inTotalFees is true. It is what this swap added to its pair’s totalFees when the swap was indexed. Codex keeps refining how it classifies fees and names recipients. A later swap of the same kind can therefore carry a different kind, recipient name or inTotalFees than an earlier one: for example, a transfer shown as OTHER_TRANSFER today can be shown as a fee for later swaps as Codex’s classification improves. A swap that is already indexed keeps the ledger it was given. Its amounts, tokens and transaction do not change. A POOL_FEE entry is the venue’s whole fee for the swap. PROTOCOL_SHARE, CREATOR_SHARE and PARTNER_SHARE entries are parts of that fee, paid out to named recipients or set aside for them: they are shown for attribution and are never added on top of it. What the venue or its liquidity providers kept is the pool fee less its shares. inTotalFees marks which of them totalFeesUsd counts, and settlement says whether each amount left the venue during the trade. Every USD value in the ledger is rounded to 12 decimal places.
[FeeLedgerEntry!]!
The fee entries of this swap. When a transaction has more than 32, entries of the same kind and token are merged into one, and if that is still more than 32, the smallest OTHER_TRANSFER entries are left out: see ENTRIES_MERGED in gaps. An entry that counts toward totals is never left out.
See FeeLedgerEntry
Show Properties
FeeKind!
What kind of charge this is. Classification is refined over time: see FeeLedger.
See FeeKind
Show Properties
enum
The venue’s whole fee for this swap: the fee of a pool, a bonding curve or a pool’s hook, liquidity providers’ part included. recipient is the pool that kept it and recipientName and recipientId name the venue, when Codex knows them. PROTOCOL_SHARE, CREATOR_SHARE and PARTNER_SHARE entries are parts of this fee, never charges on top of it, and what the venue or its liquidity providers kept is this fee less those shares. When the shares paid out add up to more than the fee the venue stated, the pool fee is taken to be the sum of the shares: inTotalFees is then true for the shares and false for this entry.
enum
Part of the pool fee that goes to the venue’s protocol. Shown for attribution: it is inside POOL_FEE, never added on top of it. It is either paid out in the swap’s transaction, or set aside for the protocol to collect later, as on Uniswap V4 and PancakeSwap Infinity when the swap’s own event states the protocol’s rate: settlement is then ACCRUED, amountSource is ESTIMATED, recipient and payer are null and inTotalFees is false.
enum
Part of the pool fee paid out to the token’s creator. Shown for attribution: it is inside POOL_FEE, never added on top of it.
enum
Part of the pool fee paid out to another party. recipientRole says which, when the venue names it. Shown for attribution: it is inside POOL_FEE, never added on top of it. A host share that only the swap’s own event reports, as on Meteora DLMM, has amountSourceREPORTED, recipientRoleHOST, settlementPAID_OUT, null recipient and payer, and inTotalFees false.
enum
Base network fee for the transaction, including blob fees.
enum
Priority fee paid to the block producer through the gas price.
enum
L1 data and operator fees on a rollup.
enum
A direct payment to a block builder or a transaction-landing service, e.g. a Jito tip.
enum
A fee taken by the trading app, bot or wallet the trade was placed through.
enum
A fee taken by a swap aggregator or router.
enum
A tax the token’s own contract took on transfer.
enum
Money returned to the trader in the same transaction, e.g. cashback. amountRaw is negative.
enum
A transfer in the transaction that was not counted as a fee: Codex could not confirm it as one, or it is not one. Never counted in totals.
String!
The token the amount is in: a token address in full, or native for the network’s native coin (ETH on Ethereum, SOL on Solana). An amount in the wrapped form of the native coin (for example WETH) is shown as native.
String!
The whole amount in the token’s smallest unit, as an integer string. Negative for a rebate. For a TRANSACTION entry this is the amount for the whole transaction, not this swap’s share.
String
The same amount in whole tokens: amountRaw shifted by tokenDecimals, as a plain decimal string with no exponent and no trailing zeros (0.0015 for 1500 smallest units of a 6-decimal token). Negative for a rebate. Null when Codex does not know the token’s decimals.
Int
The number of decimals amount is shifted by: the token’s decimals, or the native coin’s decimals for native. Null when Codex does not know the token’s decimals, and amount is then null too.
A transfer of this amount was observed in the transaction.
enum
Taken from what the venue or router itself stated for the swap, in its events or its instruction. It either states the fee, or Codex measures the fee from the amounts it states. It is not an estimate from a posted rate: see ESTIMATED.
enum
A known rate was applied to the swap’s size. amountRaw is an estimate; see rate.
enum
Read from the transaction receipt.
enum
This version of Codex does not recognise how the amount is known, because a newer version wrote the entry. amountRaw is shown as stored, and the entry is not counted in any total.
String
The rate applied, as a fraction of the swap’s value (0.003 means 0.3%). Set only when amountSource is ESTIMATED.
FeeScope!
Whether the entry belongs to this swap alone or is a cost of the whole transaction, shared equally by its swaps.
See FeeScope
Show Properties
enum
The entry belongs to this swap alone.
enum
The entry is a cost of the whole transaction. Every swap in the transaction shows it with the same whole amountRaw.
enum
This version of Codex does not recognise what the entry belongs to, because a newer version wrote it. amountRaw is shown as stored, swapShareUsd is null, and the entry is not counted in any total.
String
The whole amount in USD, rounded to 12 decimal places. Null when the token had no price within one hour before the swap.
String
This swap’s share in USD, rounded to 12 decimal places. Equal to amountUsd for a SWAP entry, and amountUsd / transactionSwapCount for a TRANSACTION entry. Null when the token had no price within one hour before the swap. Always null for an entry that Codex could not read, and null for every entry of the swap when such an entry has a negative amount: see UNREADABLE_ENTRY.
Boolean!
Whether swapShareUsd is part of totalFeesUsd and of the pair’s totalFees statistics: totalFeesUsd is the sum of the entries where this is true. False for OTHER_TRANSFER. False for an entry with no swapShareUsd. A pool fee and its shares are never both counted, since shares come out of the pool fee: false for the shares when the pool fee is at least their sum, false for the pool fee when its shares add up to more than it, and false for both when the pool fee has no USD value. A share that was set aside (ACCRUED) or only reported by the swap’s event (REPORTED) is always false. False for a rebate that matches no charge in this ledger, and for a rebate and the charge it reduces when the rebate is larger than the charge or either has no USD value. Classification is refined over time: see FeeLedger.
String
The address that received the amount, in full. For a POOL_FEE, the pool that kept the fee for the venue and its liquidity providers: the address that holds the pool’s reserves. That is the pair’s own address for most pools, the shared contract for a venue that holds many pools in one contract (a Uniswap V4 PoolManager, a launchpad’s curve contract), and on Solana the account that owns the pool’s token accounts. For a rebate, the trader’s account that got the amount back. Null for gas, for a POOL_FEE when Codex could not tell which address holds the reserves, for a share that was set aside and not paid (settlement is ACCRUED), for a REPORTED share, and for entries of any other kind merged under ENTRIES_MERGED.
String
The address the amount was observed leaving, in full. For an OBSERVED entry, the sender of the transfer to recipient (the largest sender when several addresses paid that recipient). For BASE_FEE, PRIORITY_FEE and L1_DATA_FEE, the transaction’s fee payer. For a rebate, the account it was paid from, usually the venue’s or the app’s. Null for REPORTED and ESTIMATED entries, where no transfer was observed, for a POOL_FEE, and for entries merged under ENTRIES_MERGED.
String
Human-readable name of the known app, protocol or service behind recipient, e.g. Jito. For a POOL_FEE, the name of the venue the pool belongs to, e.g. Uniswap Protocol: Codex knows it from the contract or program that created the pool, or from the launchpad that owns it, so it can be set when recipient is null. Queries show the registry’s current name; subscriptions and webhooks show the name at the time the swap was indexed. Null when the address, or for a POOL_FEE the venue, is not in Codex’s registry, and for a rebate, whose recipient is the trader.
String
Stable identifier of the known app, protocol or service behind recipient, e.g. jito. For a POOL_FEE, the identifier of the venue the pool belongs to, e.g. uniswap-protocol. It stays the same for that recipient as far as Codex can keep it, but Codex may merge or split recipients. Null when the address, or for a POOL_FEE the venue, is not in Codex’s registry, and for a rebate, whose recipient is the trader. A null id does not mean the recipient stays unknown: a later swap can carry one.
FeeRecipientRole
The part the venue gave this recipient, when the venue names one. Null otherwise, and always null for a POOL_FEE.
See FeeRecipientRole
Show Properties
enum
The token’s creator.
enum
The venue’s protocol.
enum
The party that referred the trader.
enum
The app or site that hosted the trade.
enum
An account that buys the token back.
enum
An account that pays rewards to holders or stakers.
FeeSettlement
Whether the amount left the venue during the trade: PAID_OUT, HELD_BY_VENUE or ACCRUED. It is separate from kind and amountSource: an ESTIMATED or REPORTED pool fee can be PAID_OUT. Null when Codex cannot tell: a POOL_FEE of which only a part left (each part is its own PAID_OUT entry); a POOL_FEE on a swap whose ledger has a gap other than GAS_UNKNOWN and ENTRIES_MERGED; a POOL_FEE when an OTHER_TRANSFER may have come from the venue: followed back through every address that sent it on, the trader excepted, it came from the venue’s hook or other contract, from a pool address that paid out more of that token than its swaps explain or that also had liquidity added or removed in the transaction, straight from a pool address in the fee’s token (the swap’s own output aside), or from a sender Codex did not see; entries merged under ENTRIES_MERGED that did not all settle the same way; and every entry of a swap indexed before this field existed.
See FeeSettlement
Show Properties
enum
The amount left the venue during the trade: a transfer was observed, the receipt proves it was paid (gas), or the swap’s own event reports it paid out (REPORTED, as for a Meteora DLMM host fee). For a POOL_FEE, the parts that left add up to the whole fee.
enum
Codex saw no part of the amount leave the venue during the trade, and no other transfer came from the venue. It says nothing about who ends up with it: liquidity providers, the protocol or a later sweep.
enum
The amount did not leave the venue and is known to be set aside for a later claim, a narrower case of HELD_BY_VENUE. The protocol’s share on Uniswap V4 and PancakeSwap Infinity, which stays in the pool manager until the protocol collects it. A POOL_FEE entry may read HELD_BY_VENUE while a share inside it reads ACCRUED.
Int!
How many swaps in this transaction share its TRANSACTION entries. 1 when the transaction has one swap.
[FeeLedgerGap!]!
What this ledger could not measure. Empty when nothing is known to be missing. Read it before treating the ledger as complete: every gap except ENTRIES_MERGED and TRADER_UNKNOWN means a cost is missing, so totalFeesUsd and feeToVolumeRatio are then lower bounds, not the whole cost.
See FeeLedgerGap
Show Properties
enum
The venue charges a fee on this swap that could not be read. No POOL_FEE entry is present, and this is not a zero fee.
enum
The list of known fee recipients could not be read when this swap was indexed, so recipients are not named and some fees may be shown as OTHER_TRANSFER.
enum
Some or all gas entries could not be read.
enum
The transaction’s internal calls were not available. Native-token payments made inside contracts, tips included, may be missing.
enum
The transaction had more than 32 entries. Entries of the same kind and token were merged into one, which has no single recipient (a merged POOL_FEE still shows its pool and venue), and if that was still more than 32, the smallest OTHER_TRANSFER entries were left out. Only entries that never count toward totals are left out, so totalFeesUsd and the totalFees statistics are unaffected.
enum
An address paid out more than it received in a way Codex could not explain. Its payments are left out.
enum
The trader could not be tied to this transaction’s charges. TRANSACTION entries may belong to another party’s activity.
enum
Part of the transaction’s on-chain data could not be decoded when the swap was indexed. Fees inside that part are missing.
enum
Part of this transaction traded on a venue Codex does not index. That trade’s fee is not in this ledger, so totalFeesUsd and feeToVolumeRatio are lower bounds.
enum
The ledger lists a transfer that it could not confirm either as a fee or as something other than a fee, so it is shown as an OTHER_TRANSFER that is not counted. totalFeesUsd and feeToVolumeRatio may then be lower bounds.
enum
An entry Codex counts as a fee has no USD value, because its token, or the swap’s volume for a rate, had no price within one hour before the swap. Its swapShareUsd is null and inTotalFees is false, so totalFeesUsd and feeToVolumeRatio are lower bounds. OTHER_TRANSFER entries never raise it.
enum
The venue states no fee on this swap. It takes its value another way, for example inside the price it quotes, so the chain shows no fee to read. No POOL_FEE entry is present and the total leaves that cost out.
enum
This ledger holds something that this version of Codex could not read, because a newer version wrote it: an entry, a whole ledger, a gap, a settlement or a recipientRole. An entry it could not read is shown as an OTHER_TRANSFER that is not counted and has a null swapShareUsd, or is left out when it states no token; an unread recipientRole is null and its entry is still counted. totalFeesUsd and feeToVolumeRatio are then lower bounds. When an unread entry has a negative amount it may be a refund of any charge, so every swapShareUsd of the swap is null and totalFeesUsd is 0. The transaction itself was decoded: see UNDECODED_VALUE for the other case.
String!
The sum of swapShareUsd over entries where inTotalFees is true: what this swap added to its pair’s totalFees when it was indexed. Entries with no USD value add nothing, so this is a lower bound when any such entry has a null swapShareUsd. It is also a lower bound when gaps names a missing cost, e.g. UNINDEXED_TRADE. Rounded to 12 decimal places from the exact sum, so it can differ from the sum of the rounded swapShareUsd values by less than 0.00000000001.
String
What this swap actually cost as a fraction of its size: totalFeesUsd divided by the swap’s volume in USD (0.01 means 1%), rounded to 12 decimal places. The same measure as feeToVolumeRatio on bars, for one swap. It covers every entry in the total (gas, tips, app and router fees, token tax, net of rebates), where poolFeeBps is only the venue’s posted rate. A lower bound whenever totalFeesUsd is one: see gaps. Null when the swap’s volume is zero or has no USD value, or when no entry in the total has a USD value.
onTokenEventsCreated: Live-streamed events for a given token across all it’s pools
Last modified on December 2, 2026
Was this page helpful?
⌘I
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Codex","description":"Documentation for the Codex API: real-time token, pair, wallet, and prediction market data across 80+ blockchain networks via GraphQL.","colors":{"primary":"#2b2b2b","light":"#e5ff5d","dark":"#111111"},"logo":{"light":"https://mintcdn.com/codex-dfdf2708/7w4fQJ0S9L8CNB96/logo/light.svg?fit=max\u0026auto=format\u0026n=7w4fQJ0S9L8CNB96\u0026q=85\u0026s=76c0f89798492bff4223b787eaa98357","dark":"https://mintcdn.com/codex-dfdf2708/7w4fQJ0S9L8CNB96/logo/dark.svg?fit=max\u0026auto=format\u0026n=7w4fQJ0S9L8CNB96\u0026q=85\u0026s=5da9113177c76dbd44906ef9de441e4a"},"favicon":"https://mintcdn.com/codex-dfdf2708/sIg_rUgIrhUCd0wd/favicon.ico?fit=max\u0026auto=format\u0026n=sIg_rUgIrhUCd0wd\u0026q=85\u0026s=19ef53219c3ad5c35672dc267bc5b6e8","navbar":{"links":[{"icon":"folder","href":"https://www.codex.io/","label":"Home"},{"icon":"folder","href":"https://www.codex.io/press-kit","label":"Press Kit"},{"icon":"clock-rotate-left","href":"/changelog","label":"Changelog"},{"icon":"chart-line","href":"https://dashboard.codex.io/dashboard?utm_source=codex\u0026utm_medium=docs\u0026utm_campaign=nav","label":"Dashboard"},{"icon":"discord","href":"https://discord.com/invite/mFpUhT3vAq","label":"Support"},{"icon":"wave-pulse","href":"https://status.codex.io/","label":"Status Page"}]},"footer":{"socials":{"x":"https://x.com/trycodex","github":"https://github.com/codex-data","discord":"https://discord.com/invite/9ZB7zcWuBY","telegram":"https://t.me/CodexData"}},"seo":{"metatags":{"og:site_name":"Codex Docs","twitter:site":"@trycodex"},"organization":{"id":"https://www.codex.io/#organization","name":"Codex","url":"https://www.codex.io","sameAs":["https://x.com/trycodex","https://github.com/codex-data","https://t.me/CodexData"]},"indexing":"navigable"},"styling":{"eyebrows":"breadcrumbs","latex":true},"integrations":{"segment":{"key":"qJOZUKYGpfOfMbIywGUnbeFAPNVLWJ0j"}},"contextual":{"options":["copy","view","chatgpt","claude",{"title":"LLMs (full)","description":"Open llms-full.txt","icon":"file-text","href":"/llms-full.txt"}],"display":"header"},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"codex-dfdf2708","hasAudioNarration":false,"actualSubdomain":"codex-dfdf2708","customDomains":["docs.codex.io"],"gitSource":{"type":"github","owner":"company-z","repo":"codex-dashboard","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10b66e9ffae5051c400e06"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b109e3ad0ef78debc8693fd","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"API Reference","count":689},{"language":"default","tag":"Types","count":580},{"language":"default","tag":"Object Types","count":331},{"language":"default","tag":"Input Objects","count":135},{"language":"default","tag":"Enums","count":107},{"language":"default","tag":"Queries","count":79},{"language":"default","tag":"Welcome","count":45},{"language":"default","tag":"Supported Networks","count":34},{"language":"default","tag":"Predictions","count":31},{"language":"default","tag":"Tokens","count":25}],"searchSettings":{"maxResults":8}},"assistantConfig":{"deflection":{"enabled":true,"email":"hello@codex.io","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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":"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":"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":"turbopuffer-dual-write","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":"editor-metadata","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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"sidebar.css","content":"[data-page-title=\"Explore\"]{height:100%}[data-codex-explore-page=\"true\"] #sidebar{display:none}[data-codex-explore-page=\"true\"] #content-area .mdx-content{height:100%}[data-codex-explore-page=\"true\"] #content-area .leading-6.mt-14{display:none}[data-codex-explore-page=\"true\"] #content-container{margin-left:0!important}[data-codex-explore-page=\"true\"] #navbar-transition-maple{left:0!important}[data-codex-explore-page=\"true\"] #explore-container>div{height:100%}#table-of-contents-layout{backdrop-filter:blur(10px)}@media (min-width: 1024px){#sidebar{width:20rem!important}#content-container{margin-left:20rem!important}#navbar-transition-maple{left:20rem!important}}@media (max-width: 1023px){#sidebar{min-width:20rem!important}[data-codex-explore-page=\"true\"]:has(#banner) #content-container{padding-top:160px!important}}"},{"filePath":"global.css","content":"#pagination,#footer{display:none}.expandable .mint-field:last-child{border-bottom-width:0px}.field-head{scroll-margin-top:calc(var(--scroll-mt) - 1.25rem)}.gfp-page table code{white-space:nowrap}.nowrap-code-table table code{white-space:nowrap}.mint-field .expandable{margin-top:0.5rem;border:none}.mint-field .expandable summary{padding:0.5rem 0 0.5rem 0}.mint-field .expandable-content{padding:0 0 0 0.75rem;margin:0;border-left:1px solid rgb(243 244 246 / var(--tw-border-opacity));border-top-width:0}.dark .mint-field .expandable-content{border-left-color:rgb(31 41 55 / 0.5)}.mint-field .expandable .mint-field:first-child{margin-top:0}.mint-field:has(.expandable[open]){border-bottom-width:0}.mint-group\\/link:focus-within .mint-w-6,.mint-group\\/link:focus .mint-w-6,.mint-group\\/link:focus-within>div,.mint-group\\/link:focus>div{border-width:2px!important;border-color:rgb(43 43 43)!important}.dark .mint-group\\/link:focus-within .mint-w-6,.dark .mint-group\\/link:focus .mint-w-6,.dark .mint-group\\/link:focus-within>div,.dark .mint-group\\/link:focus>div{border-color:rgb(229 255 93)!important}.mint-ring-1{--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 0 calc(1px + 0px) rgb(243 244 246 / 0.3);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.dark .mint-ring-1{--tw-ring-shadow: 0 0 0 calc(1px + 0px) rgb(55 65 81 / 0.25)}.dark .mint-ring-gray-700\\/25{--tw-ring-shadow: 0 0 0 calc(1px + 0px) rgb(55 65 81 / 0.25)}#apiKey:focus-visible{outline:2px solid rgb(43 43 43);outline-offset:2px}.dark #apiKey:focus-visible{outline-color:rgb(229 255 93)}#apiKey:focus-visible{box-shadow:0 0 0 2px rgb(43 43 43);outline:none}.dark #apiKey:focus-visible{box-shadow:0 0 0 2px rgb(229 255 93)}.panel{order:10}#banner{background:#f5f5f5!important}#banner,#banner *,#banner p{color:#333!important}#banner a{color:#111111!important;font-weight:700!important}#banner button{color:#999!important}.dark #banner{background:#1a1a1a!important;border-bottom:1px solid rgba(255, 255, 255, 0.08)}.dark #banner,.dark #banner *,.dark #banner p{color:rgba(255, 255, 255, 0.85)!important}.dark #banner a{color:#e5ff5d!important;font-weight:600!important}.dark #banner button{color:rgba(255, 255, 255, 0.5)!important}#codex-auth-banner{border-radius:10px;margin-bottom:1.5rem}.codex-auth-banner-inner{padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:32px}.codex-auth-banner-content{display:flex;align-items:center;gap:12px;min-width:0}.codex-auth-banner-icon{width:28px;height:28px;flex-shrink:0}.codex-auth-banner-content strong{white-space:nowrap}@media (max-width: 640px){.codex-auth-banner-content strong{white-space:normal}}.codex-auth-banner-subtitle{margin-left:6px}.codex-auth-banner-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.codex-auth-banner-cta{display:inline-block;font-weight:600;font-size:14px;padding:8px 18px;border-radius:6px;text-decoration:none;white-space:nowrap;transition:opacity 0.15s}.codex-auth-banner-cta:hover{opacity:0.9}.codex-auth-banner-dismiss{background:none;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;transition:color 0.15s}.dark #codex-auth-banner{background:#1a1a1a;color:#fff;border:1px solid rgba(255, 255, 255, 0.08)}.dark .codex-auth-banner-icon{color:#e5ff5d}.dark .codex-auth-banner-content strong{color:#fff}.dark .codex-auth-banner-subtitle{color:rgba(255, 255, 255, 0.7)}.dark .codex-auth-banner-cta{background:#e5ff5d!important;color:#111111!important}.dark .codex-auth-banner-dismiss{color:rgba(255, 255, 255, 0.5)}.dark .codex-auth-banner-dismiss:hover{color:#fff}#codex-auth-banner{background:rgba(183, 29, 255, 0.08);color:#333;border:1px solid rgba(183, 29, 255, 0.25)}.codex-auth-banner-icon{color:#b71dff}.codex-auth-banner-content strong{color:#111}.codex-auth-banner-subtitle{color:#555}.codex-auth-banner-cta{background:#b71dff;color:#fff}.codex-auth-banner-dismiss{color:#999}.codex-auth-banner-dismiss:hover{color:#333}@media (min-width: 1280px) and (max-width: 1390px){.codex-auth-banner-inner{flex-direction:column;text-align:center;gap:10px}.codex-auth-banner-content{flex-direction:column}.codex-auth-banner-subtitle{display:block;margin-left:0;margin-top:2px}}@media (max-width: 640px){#codex-auth-banner{border-radius:8px;margin-bottom:1rem}.codex-auth-banner-inner{flex-direction:column;align-items:stretch;gap:12px;padding:16px;position:relative}.codex-auth-banner-content{flex-direction:column;align-items:flex-start;gap:10px;text-align:left;padding-right:32px}.codex-auth-banner-icon{width:24px;height:24px}.codex-auth-banner-subtitle{display:block;margin-left:0;margin-top:4px;font-size:14px}.codex-auth-banner-actions{flex-direction:column;align-items:stretch;width:100%;gap:0}.codex-auth-banner-cta{width:100%;text-align:center;font-size:13px;padding:10px 16px}.codex-auth-banner-dismiss{position:absolute;top:16px;right:16px;padding:4px}}.changelog-page{display:grid;grid-template-columns:190px 1fr;column-gap:32px;align-items:start}.changelog-page>h2{grid-column:1;justify-self:start;display:inline-block!important;background:#e5ff5d!important;color:#111111!important;padding:3px 10px!important;border-radius:999px!important;font-size:13px!important;font-weight:600!important;letter-spacing:0.01em!important;white-space:nowrap!important;border:none!important;margin:0 0 10px 0!important;line-height:1.6!important}.changelog-page>h2:not(:first-child){margin-top:32px!important}.changelog-page>.cl-title{grid-column:1;font-size:13px;color:rgb(var(--gray-900));;margin:0px 0 0 0;line-height:1.4;font-weight:500}.dark .changelog-page>.cl-title{color:rgba(255, 255, 255, 0.85)}.changelog-page>.cl-right{grid-column:2;padding-bottom:32px;border-bottom:1px solid var(--border-color, #e5e7eb);margin-top:-40px}.changelog-page>.cl-right>:first-child{margin-top:0}.dark .changelog-page>.cl-right{border-bottom-color:rgb(31 41 55 / 0.5)}@media (max-width: 1024px){.changelog-page{display:block}.changelog-page>h2{display:block!important;margin-top:32px!important;margin-bottom:4px!important}.changelog-page>h2:first-child{margin-top:0!important}.changelog-page>.cl-title{font-size:15px;margin:12px 0 16px 0}.changelog-page>.cl-right{margin-top:0;padding-bottom:0;border-bottom:none}}img[src*=\"/images/chains/\"],img[src*=\"/images/launchpads/\"]{border-radius:50%}@media (min-width: 1536px){#content-area{max-width:44rem}}@media (min-width: 1720px){#content-side-layout{max-width:44rem;width:44rem}#content-side-layout .panel{max-width:44rem;width:44rem}}"},{"filePath":"style.css","content":".rm{padding:0.75rem 0;font-family:inherit;color:rgb(20, 26, 38);--rm-bg: #ffffff}html.dark .rm{color:rgb(238, 242, 250);--rm-bg: #0d0f14}.rm-header{display:flex;flex-direction:column;align-items:center;margin-top:0.5rem}.rm-logo{height:44px;width:auto;max-width:220px;display:block}.rm-logo-dark{display:none}html.dark .rm-logo-light{display:none}html.dark .rm-logo-dark{display:block}.rm-connectors{position:relative;width:100%;height:56px;margin-top:14px;--rm-line: #111111}html.dark .rm-connectors{--rm-line: #e5ff5d}.rm-conn-stem{position:absolute;left:50%;top:0;height:40%;width:1.5px;background:var(--rm-line);transform:translateX(-50%)}.rm-conn-bus{position:absolute;left:10%;right:10%;top:40%;height:1.5px;background:var(--rm-line);transform:translateY(-50%)}.rm-conn-drop{position:absolute;top:40%;bottom:0;width:1.5px;background:var(--rm-line);transform:translateX(-50%)}.rm-conn-d1{left:10%}.rm-conn-d2{left:30%}.rm-conn-d3{left:50%}.rm-conn-d4{left:70%}.rm-conn-d5{left:90%}.rm-grid{display:grid;grid-template-columns:repeat(5, 1fr);gap:12px;align-items:start;margin-top:0}.rm .col{display:flex;flex-direction:column;gap:12px;position:relative;padding:0 0 16px;min-width:0}.rm .col::before{content:\"\";position:absolute;left:50%;top:70px;bottom:8px;width:0;border-left:1px dashed rgba(var(--cat), 0.7);z-index:0}.rm .col-h{background:rgba(var(--cat), 0.28);border:1px solid rgba(var(--cat), 0.85);border-radius:8px;padding:13px 6px 12px;text-align:center;font-size:15px;font-weight:700;text-transform:capitalize;position:relative;z-index:1;line-height:1.25;letter-spacing:-0.01em;min-height:64px;color:rgba(var(--cat), 1);display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box}html.dark .rm .col-h{color:inherit;background:rgba(var(--cat), 0.32)}.rm .item{display:flex;align-items:center;gap:7px;padding:6px 12px 6px 10px;background:linear-gradient(rgba(var(--cat), 0.14), rgba(var(--cat), 0.14)), var(--rm-bg);border:1px solid rgba(var(--cat), 0.7);border-radius:999px;font-size:12px;position:relative;z-index:1;line-height:1.3;transition:border-color 0.15s ease, background 0.15s ease;cursor:pointer}.rm .item:hover{border-color:rgba(var(--cat), 0.95);background:linear-gradient(rgba(var(--cat), 0.24), rgba(var(--cat), 0.24)), var(--rm-bg);z-index:20}.rm .item.pinned{border-color:rgba(var(--cat), 1);background:linear-gradient(rgba(var(--cat), 0.32), rgba(var(--cat), 0.32)), var(--rm-bg);z-index:20}.rm .item.muted .item-label{opacity:0.6}.rm .item-label{flex:1;min-width:0;white-space:normal;word-break:break-word;overflow-wrap:anywhere}.rm .dot{width:6px;height:6px;border-radius:50%;flex-shrink:0;display:inline-block}.rm .dot-done{background:#4d9417}.rm .dot-prog{background:#e08a1a}.rm .dot-plan{background:transparent;border:1px solid currentColor;width:5px;height:5px;opacity:0.55}.rm .tip{position:absolute;bottom:calc(100% + 9px);left:50%;transform:translate(-50%, 4px);width:220px;background:#ffffff;color:#1a1a1a;border:1px solid rgba(125, 125, 125, 0.3);border-radius:8px;padding:10px 12px 11px;font-size:11.5px;line-height:1.45;text-align:left;opacity:0;pointer-events:none;transition:opacity 0.15s ease, transform 0.15s ease;z-index:30;box-shadow:0 4px 14px rgba(0, 0, 0, 0.1)}html.dark .rm .tip{background:#1c1f2a;color:#e8e8e8;border-color:rgba(255, 255, 255, 0.15);box-shadow:0 4px 14px rgba(0, 0, 0, 0.4)}.rm .item:hover .tip,.rm .item.pinned .tip{opacity:1;pointer-events:auto;transform:translate(-50%, 0)}.rm .tip-meta{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;opacity:0.65;text-transform:uppercase;letter-spacing:0.05em;margin-bottom:5px;font-weight:500}.rm .tip-title{font-weight:500;font-size:12.5px;margin-bottom:4px;letter-spacing:-0.005em}.rm .tip-desc{font-size:11.5px;opacity:0.85}.rm .tip::after{content:\"\";position:absolute;top:100%;left:50%;margin-left:-5px;border-top:5px solid #ffffff;border-left:5px solid transparent;border-right:5px solid transparent}html.dark .rm .tip::after{border-top-color:#1c1f2a}.rm .item:nth-child(2) .tip,.rm .item:nth-child(3) .tip{bottom:auto;top:calc(100% + 9px);transform:translate(-50%, -4px)}.rm .item:nth-child(2):hover .tip,.rm .item:nth-child(3):hover .tip,.rm .item:nth-child(2).pinned .tip,.rm .item:nth-child(3).pinned .tip{transform:translate(-50%, 0)}.rm .item:nth-child(2) .tip::after,.rm .item:nth-child(3) .tip::after{top:auto;bottom:100%;border-top:none;border-bottom:5px solid #ffffff}html.dark .rm .item:nth-child(2) .tip::after,html.dark .rm .item:nth-child(3) .tip::after{border-bottom-color:#1c1f2a}.rm .c-tok .tip{left:0;transform:translate(0, 4px)}.rm .c-tok .item:hover .tip,.rm .c-tok .item.pinned .tip{transform:translate(0, 0)}.rm .c-tok .item:nth-child(2) .tip,.rm .c-tok .item:nth-child(3) .tip{transform:translate(0, -4px)}.rm .c-tok .item:nth-child(2):hover .tip,.rm .c-tok .item:nth-child(3):hover .tip,.rm .c-tok .item:nth-child(2).pinned .tip,.rm .c-tok .item:nth-child(3).pinned .tip{transform:translate(0, 0)}.rm .c-tok .tip::after{left:20px;margin-left:0}.rm .c-dev .tip{left:auto;right:0;transform:translate(0, 4px)}.rm .c-dev .item:hover .tip,.rm .c-dev .item.pinned .tip{transform:translate(0, 0)}.rm .c-dev .item:nth-child(2) .tip,.rm .c-dev .item:nth-child(3) .tip{transform:translate(0, -4px)}.rm .c-dev .item:nth-child(2):hover .tip,.rm .c-dev .item:nth-child(3):hover .tip,.rm .c-dev .item:nth-child(2).pinned .tip,.rm .c-dev .item:nth-child(3).pinned .tip{transform:translate(0, 0)}.rm .c-dev .tip::after{left:auto;right:20px;margin-left:0}.rm .foot{margin-top:1.75rem;padding:14px 0 4px;border-top:0.5px solid rgba(125, 125, 125, 0.2);display:flex;flex-direction:column;align-items:center;gap:14px}.rm .legend{display:flex;justify-content:center;gap:20px;font-size:12px;opacity:0.85}.rm .legend-item{display:inline-flex;align-items:center;gap:6px}.rm .rm-note{font-size:11px;opacity:0.55;text-align:center}.rm .cta-row{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.rm .cta{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;background:transparent;border:0.5px solid rgba(125, 125, 125, 0.35);border-radius:999px;font-size:12px;text-decoration:none;transition:border-color 0.15s ease, background 0.15s ease;cursor:pointer;color:inherit}.rm .cta-discord:hover{border-color:rgb(83, 74, 183);background:rgba(83, 74, 183, 0.07)}.rm .cta-changelog:hover{border-color:rgb(15, 110, 86);background:rgba(15, 110, 86, 0.07)}.rm .cta-arrow{font-size:12px;opacity:0.6;margin-left:2px}.rm .c-tok{--cat: 224, 145, 28}.rm .c-wal{--cat: 22, 150, 108}.rm .c-pred{--cat: 205, 62, 108}.rm .c-net{--cat: 112, 100, 224}.rm .c-dev{--cat: 205, 78, 36}html.dark #beamerSelector{background-color:#e5ff5d!important;background-image:url(\"data:image/svg+xml;utf8,\u003csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='%23111111'>\u003cpath d='M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z'/>\u003c/svg>\")!important;box-shadow:none!important}html.dark #beamerOverlay{background-color:rgb(0 0 0 / 0.35)}html.dark #beamerOverlay .iframeCointaner,html.dark #beamerNews{box-shadow:0 12px 32px -8px rgb(0 0 0 / 0.6)}"}]}
{"page":{"pagePath":"api-reference/types/feeledger","slug":"/api-reference/types/feeledger","pageMetadata":{"title":"FeeLedger","description":"Every fee, tax, tip and rebate one swap paid, with who paid it and who received it. Present on Confirmed swap events on networks where the fee ledger is switched on. Null on older events, on Processed events, and on mints and burns. `totalFeesUsd` is the sum of `swapShareUsd` over entries where `inTotalFees` is true. It is what this swap added to its pair's `totalFees` when the swap was indexed. Codex keeps refining how it classifies fees and names recipients. A later swap of the same kind can therefore carry a different `kind`, recipient name or `inTotalFees` than an earlier one: for example, a transfer shown as `OTHER_TRANSFER` today can be shown as a fee for later swaps as Codex's classification improves. A swap that is already indexed keeps the ledger it was given. Its amounts, tokens and transaction do not change. A `POOL_FEE` entry is the venue's whole fee for the swap. `PROTOCOL_SHARE`, `CREATOR_SHARE` and `PARTNER_SHARE` entries are parts of that fee, paid out to named recipients or set aside for them: they are shown for attribution and are never added on top of it. What the venue or its liquidity providers kept is the pool fee less its shares. `inTotalFees` marks which of them `totalFeesUsd` counts, and `settlement` says whether each amount left the venue during the trade. Every USD value in the ledger is rounded to 12 decimal places.","robots":"noindex, follow","tag":"New","tagExpiry":"2027-02-02","href":"/api-reference/types/feeledger"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Every fee, tax, tip and rebate one swap paid, with who paid it and who received it. Present on Confirmed swap events on networks where the fee ledger is switched on. Null on older events, on Processed events, and on mints and burns. \", _jsx(_components.code, {\n children: \"totalFeesUsd\"\n }), \" is the sum of \", _jsx(_components.code, {\n children: \"swapShareUsd\"\n }), \" over entries where \", _jsx(_components.code, {\n children: \"inTotalFees\"\n }), \" is true. It is what this swap added to its pair’s \", _jsx(_components.code, {\n children: \"totalFees\"\n }), \" when the swap was indexed. Codex keeps refining how it classifies fees and names recipients. A later swap of the same kind can therefore carry a different \", _jsx(_components.code, {\n children: \"kind\"\n }), \", recipient name or \", _jsx(_components.code, {\n children: \"inTotalFees\"\n }), \" than an earlier one: for example, a transfer shown as \", _jsx(_components.code, {\n children: \"OTHER_TRANSFER\"\n }), \" today can be shown as a fee for later swaps as Codex’s classification improves. A swap that is already indexed keeps the ledger it was given. Its amounts, tokens and transaction do not change. A \", _jsx(_components.code, {\n children: \"POOL_FEE\"\n }), \" entry is the venue’s whole fee for the swap. \", _jsx(_components.code, {\n children: \"PROTOCOL_SHARE\"\n }), \", \", _jsx(_components.code, {\n children: \"CREATOR_SHARE\"\n }), \" and \", _jsx(_components.code, {\n children: \"PARTNER_SHARE\"\n }), \" entries are parts of that fee, paid out to named recipients or set aside for them: they are shown for attribution and are never added on top of it. What the venue or its liquidity providers kept is the pool fee less its shares. \", _jsx(_components.code, {\n children: \"inTotalFees\"\n }), \" marks which of them \", _jsx(_components.code, {\n children: \"totalFeesUsd\"\n }), \" counts, and \", _jsx(_components.code, {\n children: \"settlement\"\n }), \" says whether each amount left the venue during the trade. Every USD value in the ledger is rounded to 12 decimal places.\"]\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ResponseField,Visibility}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Visibility)_missingMdxReference(`Visibility`,true);return _jsxs(`div`,{\"data-generated\":true,children:[_jsxs(Visibility,{for:`humans`,children:[_jsxs(ResponseField,{name:`entries`,type:`[FeeLedgerEntry!]!`,id:`param-entries`,children:[_jsxs(_components.p,{children:[`The fee entries of this swap. When a transaction has more than 32, entries of the same kind and token are merged into one, and if that is still more than 32, the smallest `,_jsx(_components.code,{children:`OTHER_TRANSFER`}),` entries are left out: see `,_jsx(_components.code,{children:`ENTRIES_MERGED`}),` in `,_jsx(_components.code,{children:`gaps`}),`. An entry that counts toward totals is never left out.\nSee `,_jsx(_components.a,{href:`/api-reference/types/feeledgerentry`,children:`FeeLedgerEntry`})]}),_jsxs(Expandable,{title:`Properties`,children:[_jsxs(ResponseField,{name:`kind`,type:`FeeKind!`,id:`param-kind`,children:[_jsxs(_components.p,{children:[`What kind of charge this is. Classification is refined over time: see `,_jsx(_components.code,{children:`FeeLedger`}),`.\nSee `,_jsx(_components.a,{href:`/api-reference/enums/feekind`,children:`FeeKind`})]}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`POOL_FEE`,type:`enum`,id:`param-pool-fee`,children:_jsxs(_components.p,{children:[`The venue’s whole fee for this swap: the fee of a pool, a bonding curve or a pool’s hook, liquidity providers’ part included. `,_jsx(_components.code,{children:`recipient`}),` is the pool that kept it and `,_jsx(_components.code,{children:`recipientName`}),` and `,_jsx(_components.code,{children:`recipientId`}),` name the venue, when Codex knows them. `,_jsx(_components.code,{children:`PROTOCOL_SHARE`}),`, `,_jsx(_components.code,{children:`CREATOR_SHARE`}),` and `,_jsx(_components.code,{children:`PARTNER_SHARE`}),` entries are parts of this fee, never charges on top of it, and what the venue or its liquidity providers kept is this fee less those shares. When the shares paid out add up to more than the fee the venue stated, the pool fee is taken to be the sum of the shares: `,_jsx(_components.code,{children:`inTotalFees`}),` is then true for the shares and false for this entry.`]})}),_jsx(ResponseField,{name:`PROTOCOL_SHARE`,type:`enum`,id:`param-protocol-share`,children:_jsxs(_components.p,{children:[`Part of the pool fee that goes to the venue’s protocol. Shown for attribution: it is inside `,_jsx(_components.code,{children:`POOL_FEE`}),`, never added on top of it. It is either paid out in the swap’s transaction, or set aside for the protocol to collect later, as on Uniswap V4 and PancakeSwap Infinity when the swap’s own event states the protocol’s rate: `,_jsx(_components.code,{children:`settlement`}),` is then `,_jsx(_components.code,{children:`ACCRUED`}),`, `,_jsx(_components.code,{children:`amountSource`}),` is `,_jsx(_components.code,{children:`ESTIMATED`}),`, `,_jsx(_components.code,{children:`recipient`}),` and `,_jsx(_components.code,{children:`payer`}),` are null and `,_jsx(_components.code,{children:`inTotalFees`}),` is false.`]})}),_jsx(ResponseField,{name:`CREATOR_SHARE`,type:`enum`,id:`param-creator-share`,children:_jsxs(_components.p,{children:[`Part of the pool fee paid out to the token’s creator. Shown for attribution: it is inside `,_jsx(_components.code,{children:`POOL_FEE`}),`, never added on top of it.`]})}),_jsx(ResponseField,{name:`PARTNER_SHARE`,type:`enum`,id:`param-partner-share`,children:_jsxs(_components.p,{children:[`Part of the pool fee paid out to another party. `,_jsx(_components.code,{children:`recipientRole`}),` says which, when the venue names it. Shown for attribution: it is inside `,_jsx(_components.code,{children:`POOL_FEE`}),`, never added on top of it. A host share that only the swap’s own event reports, as on Meteora DLMM, has `,_jsx(_components.code,{children:`amountSource`}),` `,_jsx(_components.code,{children:`REPORTED`}),`, `,_jsx(_components.code,{children:`recipientRole`}),` `,_jsx(_components.code,{children:`HOST`}),`, `,_jsx(_components.code,{children:`settlement`}),` `,_jsx(_components.code,{children:`PAID_OUT`}),`, null `,_jsx(_components.code,{children:`recipient`}),` and `,_jsx(_components.code,{children:`payer`}),`, and `,_jsx(_components.code,{children:`inTotalFees`}),` false.`]})}),_jsx(ResponseField,{name:`BASE_FEE`,type:`enum`,id:`param-base-fee`,children:_jsx(_components.p,{children:`Base network fee for the transaction, including blob fees.`})}),_jsx(ResponseField,{name:`PRIORITY_FEE`,type:`enum`,id:`param-priority-fee`,children:_jsx(_components.p,{children:`Priority fee paid to the block producer through the gas price.`})}),_jsx(ResponseField,{name:`L1_DATA_FEE`,type:`enum`,id:`param-l1-data-fee`,children:_jsx(_components.p,{children:`L1 data and operator fees on a rollup.`})}),_jsx(ResponseField,{name:`TIP`,type:`enum`,id:`param-tip`,children:_jsx(_components.p,{children:`A direct payment to a block builder or a transaction-landing service, e.g. a Jito tip.`})}),_jsx(ResponseField,{name:`APP_FEE`,type:`enum`,id:`param-app-fee`,children:_jsx(_components.p,{children:`A fee taken by the trading app, bot or wallet the trade was placed through.`})}),_jsx(ResponseField,{name:`ROUTER_FEE`,type:`enum`,id:`param-router-fee`,children:_jsx(_components.p,{children:`A fee taken by a swap aggregator or router.`})}),_jsx(ResponseField,{name:`TOKEN_TAX`,type:`enum`,id:`param-token-tax`,children:_jsx(_components.p,{children:`A tax the token’s own contract took on transfer.`})}),_jsx(ResponseField,{name:`REBATE`,type:`enum`,id:`param-rebate`,children:_jsxs(_components.p,{children:[`Money returned to the trader in the same transaction, e.g. cashback. `,_jsx(_components.code,{children:`amountRaw`}),` is negative.`]})}),_jsx(ResponseField,{name:`OTHER_TRANSFER`,type:`enum`,id:`param-other-transfer`,children:_jsx(_components.p,{children:`A transfer in the transaction that was not counted as a fee: Codex could not confirm it as one, or it is not one. Never counted in totals.`})})]})]}),_jsx(ResponseField,{name:`token`,type:`String!`,id:`param-token`,children:_jsxs(_components.p,{children:[`The token the amount is in: a token address in full, or `,_jsx(_components.code,{children:`native`}),` for the network’s native coin (ETH on Ethereum, SOL on Solana). An amount in the wrapped form of the native coin (for example WETH) is shown as `,_jsx(_components.code,{children:`native`}),`.`]})}),_jsx(ResponseField,{name:`amountRaw`,type:`String!`,id:`param-amount-raw`,children:_jsxs(_components.p,{children:[`The whole amount in the token’s smallest unit, as an integer string. Negative for a rebate. For a `,_jsx(_components.code,{children:`TRANSACTION`}),` entry this is the amount for the whole transaction, not this swap’s share.`]})}),_jsx(ResponseField,{name:`amount`,type:`String`,id:`param-amount`,children:_jsxs(_components.p,{children:[`The same amount in whole tokens: `,_jsx(_components.code,{children:`amountRaw`}),` shifted by `,_jsx(_components.code,{children:`tokenDecimals`}),`, as a plain decimal string with no exponent and no trailing zeros (0.0015 for 1500 smallest units of a 6-decimal token). Negative for a rebate. Null when Codex does not know the token’s decimals.`]})}),_jsx(ResponseField,{name:`tokenDecimals`,type:`Int`,id:`param-token-decimals`,children:_jsxs(_components.p,{children:[`The number of decimals `,_jsx(_components.code,{children:`amount`}),` is shifted by: the token’s decimals, or the native coin’s decimals for `,_jsx(_components.code,{children:`native`}),`. Null when Codex does not know the token’s decimals, and `,_jsx(_components.code,{children:`amount`}),` is then null too.`]})}),_jsxs(ResponseField,{name:`amountSource`,type:`FeeAmountSource!`,id:`param-amount-source`,children:[_jsxs(_components.p,{children:[`How the amount is known.\nSee `,_jsx(_components.a,{href:`/api-reference/enums/feeamountsource`,children:`FeeAmountSource`})]}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`OBSERVED`,type:`enum`,id:`param-observed`,children:_jsx(_components.p,{children:`A transfer of this amount was observed in the transaction.`})}),_jsx(ResponseField,{name:`REPORTED`,type:`enum`,id:`param-reported`,children:_jsxs(_components.p,{children:[`Taken from what the venue or router itself stated for the swap, in its events or its instruction. It either states the fee, or Codex measures the fee from the amounts it states. It is not an estimate from a posted rate: see `,_jsx(_components.code,{children:`ESTIMATED`}),`.`]})}),_jsx(ResponseField,{name:`ESTIMATED`,type:`enum`,id:`param-estimated`,children:_jsxs(_components.p,{children:[`A known rate was applied to the swap’s size. `,_jsx(_components.code,{children:`amountRaw`}),` is an estimate; see `,_jsx(_components.code,{children:`rate`}),`.`]})}),_jsx(ResponseField,{name:`RECEIPT`,type:`enum`,id:`param-receipt`,children:_jsx(_components.p,{children:`Read from the transaction receipt.`})}),_jsx(ResponseField,{name:`UNKNOWN`,type:`enum`,id:`param-unknown`,children:_jsxs(_components.p,{children:[`This version of Codex does not recognise how the amount is known, because a newer version wrote the entry. `,_jsx(_components.code,{children:`amountRaw`}),` is shown as stored, and the entry is not counted in any total.`]})})]})]}),_jsx(ResponseField,{name:`rate`,type:`String`,id:`param-rate`,children:_jsxs(_components.p,{children:[`The rate applied, as a fraction of the swap’s value (0.003 means 0.3%). Set only when `,_jsx(_components.code,{children:`amountSource`}),` is `,_jsx(_components.code,{children:`ESTIMATED`}),`.`]})}),_jsxs(ResponseField,{name:`scope`,type:`FeeScope!`,id:`param-scope`,children:[_jsxs(_components.p,{children:[`Whether the entry belongs to this swap alone or is a cost of the whole transaction, shared equally by its swaps.\nSee `,_jsx(_components.a,{href:`/api-reference/enums/feescope`,children:`FeeScope`})]}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`SWAP`,type:`enum`,id:`param-swap`,children:_jsx(_components.p,{children:`The entry belongs to this swap alone.`})}),_jsx(ResponseField,{name:`TRANSACTION`,type:`enum`,id:`param-transaction`,children:_jsxs(_components.p,{children:[`The entry is a cost of the whole transaction. Every swap in the transaction shows it with the same whole `,_jsx(_components.code,{children:`amountRaw`}),`.`]})}),_jsx(ResponseField,{name:`UNKNOWN`,type:`enum`,id:`param-unknown-1`,children:_jsxs(_components.p,{children:[`This version of Codex does not recognise what the entry belongs to, because a newer version wrote it. `,_jsx(_components.code,{children:`amountRaw`}),` is shown as stored, `,_jsx(_components.code,{children:`swapShareUsd`}),` is null, and the entry is not counted in any total.`]})})]})]}),_jsx(ResponseField,{name:`amountUsd`,type:`String`,id:`param-amount-usd`,children:_jsx(_components.p,{children:`The whole amount in USD, rounded to 12 decimal places. Null when the token had no price within one hour before the swap.`})}),_jsx(ResponseField,{name:`swapShareUsd`,type:`String`,id:`param-swap-share-usd`,children:_jsxs(_components.p,{children:[`This swap’s share in USD, rounded to 12 decimal places. Equal to `,_jsx(_components.code,{children:`amountUsd`}),` for a `,_jsx(_components.code,{children:`SWAP`}),` entry, and `,_jsx(_components.code,{children:`amountUsd / transactionSwapCount`}),` for a `,_jsx(_components.code,{children:`TRANSACTION`}),` entry. Null when the token had no price within one hour before the swap. Always null for an entry that Codex could not read, and null for every entry of the swap when such an entry has a negative amount: see `,_jsx(_components.code,{children:`UNREADABLE_ENTRY`}),`.`]})}),_jsx(ResponseField,{name:`inTotalFees`,type:`Boolean!`,id:`param-in-total-fees`,children:_jsxs(_components.p,{children:[`Whether `,_jsx(_components.code,{children:`swapShareUsd`}),` is part of `,_jsx(_components.code,{children:`totalFeesUsd`}),` and of the pair’s `,_jsx(_components.code,{children:`totalFees`}),` statistics: `,_jsx(_components.code,{children:`totalFeesUsd`}),` is the sum of the entries where this is true. False for `,_jsx(_components.code,{children:`OTHER_TRANSFER`}),`. False for an entry with no `,_jsx(_components.code,{children:`swapShareUsd`}),`. A pool fee and its shares are never both counted, since shares come out of the pool fee: false for the shares when the pool fee is at least their sum, false for the pool fee when its shares add up to more than it, and false for both when the pool fee has no USD value. A share that was set aside (`,_jsx(_components.code,{children:`ACCRUED`}),`) or only reported by the swap’s event (`,_jsx(_components.code,{children:`REPORTED`}),`) is always false. False for a rebate that matches no charge in this ledger, and for a rebate and the charge it reduces when the rebate is larger than the charge or either has no USD value. Classification is refined over time: see `,_jsx(_components.code,{children:`FeeLedger`}),`.`]})}),_jsx(ResponseField,{name:`recipient`,type:`String`,id:`param-recipient`,children:_jsxs(_components.p,{children:[`The address that received the amount, in full. For a `,_jsx(_components.code,{children:`POOL_FEE`}),`, the pool that kept the fee for the venue and its liquidity providers: the address that holds the pool’s reserves. That is the pair’s own address for most pools, the shared contract for a venue that holds many pools in one contract (a Uniswap V4 PoolManager, a launchpad’s curve contract), and on Solana the account that owns the pool’s token accounts. For a rebate, the trader’s account that got the amount back. Null for gas, for a `,_jsx(_components.code,{children:`POOL_FEE`}),` when Codex could not tell which address holds the reserves, for a share that was set aside and not paid (`,_jsx(_components.code,{children:`settlement`}),` is `,_jsx(_components.code,{children:`ACCRUED`}),`), for a `,_jsx(_components.code,{children:`REPORTED`}),` share, and for entries of any other kind merged under `,_jsx(_components.code,{children:`ENTRIES_MERGED`}),`.`]})}),_jsx(ResponseField,{name:`payer`,type:`String`,id:`param-payer`,children:_jsxs(_components.p,{children:[`The address the amount was observed leaving, in full. For an `,_jsx(_components.code,{children:`OBSERVED`}),` entry, the sender of the transfer to `,_jsx(_components.code,{children:`recipient`}),` (the largest sender when several addresses paid that recipient). For `,_jsx(_components.code,{children:`BASE_FEE`}),`, `,_jsx(_components.code,{children:`PRIORITY_FEE`}),` and `,_jsx(_components.code,{children:`L1_DATA_FEE`}),`, the transaction’s fee payer. For a rebate, the account it was paid from, usually the venue’s or the app’s. Null for `,_jsx(_components.code,{children:`REPORTED`}),` and `,_jsx(_components.code,{children:`ESTIMATED`}),` entries, where no transfer was observed, for a `,_jsx(_components.code,{children:`POOL_FEE`}),`, and for entries merged under `,_jsx(_components.code,{children:`ENTRIES_MERGED`}),`.`]})}),_jsx(ResponseField,{name:`recipientName`,type:`String`,id:`param-recipient-name`,children:_jsxs(_components.p,{children:[`Human-readable name of the known app, protocol or service behind `,_jsx(_components.code,{children:`recipient`}),`, e.g. `,_jsx(_components.code,{children:`Jito`}),`. For a `,_jsx(_components.code,{children:`POOL_FEE`}),`, the name of the venue the pool belongs to, e.g. `,_jsx(_components.code,{children:`Uniswap Protocol`}),`: Codex knows it from the contract or program that created the pool, or from the launchpad that owns it, so it can be set when `,_jsx(_components.code,{children:`recipient`}),` is null. Queries show the registry’s current name; subscriptions and webhooks show the name at the time the swap was indexed. Null when the address, or for a `,_jsx(_components.code,{children:`POOL_FEE`}),` the venue, is not in Codex’s registry, and for a rebate, whose recipient is the trader.`]})}),_jsx(ResponseField,{name:`recipientId`,type:`String`,id:`param-recipient-id`,children:_jsxs(_components.p,{children:[`Stable identifier of the known app, protocol or service behind `,_jsx(_components.code,{children:`recipient`}),`, e.g. `,_jsx(_components.code,{children:`jito`}),`. For a `,_jsx(_components.code,{children:`POOL_FEE`}),`, the identifier of the venue the pool belongs to, e.g. `,_jsx(_components.code,{children:`uniswap-protocol`}),`. It stays the same for that recipient as far as Codex can keep it, but Codex may merge or split recipients. Null when the address, or for a `,_jsx(_components.code,{children:`POOL_FEE`}),` the venue, is not in Codex’s registry, and for a rebate, whose recipient is the trader. A null id does not mean the recipient stays unknown: a later swap can carry one.`]})}),_jsxs(ResponseField,{name:`recipientRole`,type:`FeeRecipientRole`,id:`param-recipient-role`,children:[_jsxs(_components.p,{children:[`The part the venue gave this recipient, when the venue names one. Null otherwise, and always null for a `,_jsx(_components.code,{children:`POOL_FEE`}),`.\nSee `,_jsx(_components.a,{href:`/api-reference/enums/feerecipientrole`,children:`FeeRecipientRole`})]}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`CREATOR`,type:`enum`,id:`param-creator`,children:_jsx(_components.p,{children:`The token’s creator.`})}),_jsx(ResponseField,{name:`PROTOCOL`,type:`enum`,id:`param-protocol`,children:_jsx(_components.p,{children:`The venue’s protocol.`})}),_jsx(ResponseField,{name:`REFERRER`,type:`enum`,id:`param-referrer`,children:_jsx(_components.p,{children:`The party that referred the trader.`})}),_jsx(ResponseField,{name:`HOST`,type:`enum`,id:`param-host`,children:_jsx(_components.p,{children:`The app or site that hosted the trade.`})}),_jsx(ResponseField,{name:`BUYBACK`,type:`enum`,id:`param-buyback`,children:_jsx(_components.p,{children:`An account that buys the token back.`})}),_jsx(ResponseField,{name:`REWARDS`,type:`enum`,id:`param-rewards`,children:_jsx(_components.p,{children:`An account that pays rewards to holders or stakers.`})})]})]}),_jsxs(ResponseField,{name:`settlement`,type:`FeeSettlement`,id:`param-settlement`,children:[_jsxs(_components.p,{children:[`Whether the amount left the venue during the trade: `,_jsx(_components.code,{children:`PAID_OUT`}),`, `,_jsx(_components.code,{children:`HELD_BY_VENUE`}),` or `,_jsx(_components.code,{children:`ACCRUED`}),`. It is separate from `,_jsx(_components.code,{children:`kind`}),` and `,_jsx(_components.code,{children:`amountSource`}),`: an `,_jsx(_components.code,{children:`ESTIMATED`}),` or `,_jsx(_components.code,{children:`REPORTED`}),` pool fee can be `,_jsx(_components.code,{children:`PAID_OUT`}),`. Null when Codex cannot tell: a `,_jsx(_components.code,{children:`POOL_FEE`}),` of which only a part left (each part is its own `,_jsx(_components.code,{children:`PAID_OUT`}),` entry); a `,_jsx(_components.code,{children:`POOL_FEE`}),` on a swap whose ledger has a gap other than `,_jsx(_components.code,{children:`GAS_UNKNOWN`}),` and `,_jsx(_components.code,{children:`ENTRIES_MERGED`}),`; a `,_jsx(_components.code,{children:`POOL_FEE`}),` when an `,_jsx(_components.code,{children:`OTHER_TRANSFER`}),` may have come from the venue: followed back through every address that sent it on, the trader excepted, it came from the venue’s hook or other contract, from a pool address that paid out more of that token than its swaps explain or that also had liquidity added or removed in the transaction, straight from a pool address in the fee’s token (the swap’s own output aside), or from a sender Codex did not see; entries merged under `,_jsx(_components.code,{children:`ENTRIES_MERGED`}),` that did not all settle the same way; and every entry of a swap indexed before this field existed.\nSee `,_jsx(_components.a,{href:`/api-reference/enums/feesettlement`,children:`FeeSettlement`})]}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`PAID_OUT`,type:`enum`,id:`param-paid-out`,children:_jsxs(_components.p,{children:[`The amount left the venue during the trade: a transfer was observed, the receipt proves it was paid (gas), or the swap’s own event reports it paid out (`,_jsx(_components.code,{children:`REPORTED`}),`, as for a Meteora DLMM host fee). For a `,_jsx(_components.code,{children:`POOL_FEE`}),`, the parts that left add up to the whole fee.`]})}),_jsx(ResponseField,{name:`HELD_BY_VENUE`,type:`enum`,id:`param-held-by-venue`,children:_jsx(_components.p,{children:`Codex saw no part of the amount leave the venue during the trade, and no other transfer came from the venue. It says nothing about who ends up with it: liquidity providers, the protocol or a later sweep.`})}),_jsx(ResponseField,{name:`ACCRUED`,type:`enum`,id:`param-accrued`,children:_jsxs(_components.p,{children:[`The amount did not leave the venue and is known to be set aside for a later claim, a narrower case of `,_jsx(_components.code,{children:`HELD_BY_VENUE`}),`. The protocol’s share on Uniswap V4 and PancakeSwap Infinity, which stays in the pool manager until the protocol collects it. A `,_jsx(_components.code,{children:`POOL_FEE`}),` entry may read `,_jsx(_components.code,{children:`HELD_BY_VENUE`}),` while a share inside it reads `,_jsx(_components.code,{children:`ACCRUED`}),`.`]})})]})]})]})]}),_jsx(ResponseField,{name:`transactionSwapCount`,type:`Int!`,id:`param-transaction-swap-count`,children:_jsxs(_components.p,{children:[`How many swaps in this transaction share its `,_jsx(_components.code,{children:`TRANSACTION`}),` entries. 1 when the transaction has one swap.`]})}),_jsxs(ResponseField,{name:`gaps`,type:`[FeeLedgerGap!]!`,id:`param-gaps`,children:[_jsxs(_components.p,{children:[`What this ledger could not measure. Empty when nothing is known to be missing. Read it before treating the ledger as complete: every gap except `,_jsx(_components.code,{children:`ENTRIES_MERGED`}),` and `,_jsx(_components.code,{children:`TRADER_UNKNOWN`}),` means a cost is missing, so `,_jsx(_components.code,{children:`totalFeesUsd`}),` and `,_jsx(_components.code,{children:`feeToVolumeRatio`}),` are then lower bounds, not the whole cost.\nSee `,_jsx(_components.a,{href:`/api-reference/enums/feeledgergap`,children:`FeeLedgerGap`})]}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`POOL_FEE_UNKNOWN`,type:`enum`,id:`param-pool-fee-unknown`,children:_jsxs(_components.p,{children:[`The venue charges a fee on this swap that could not be read. No `,_jsx(_components.code,{children:`POOL_FEE`}),` entry is present, and this is not a zero fee.`]})}),_jsx(ResponseField,{name:`REGISTRY_UNAVAILABLE`,type:`enum`,id:`param-registry-unavailable`,children:_jsxs(_components.p,{children:[`The list of known fee recipients could not be read when this swap was indexed, so recipients are not named and some fees may be shown as `,_jsx(_components.code,{children:`OTHER_TRANSFER`}),`.`]})}),_jsx(ResponseField,{name:`GAS_UNKNOWN`,type:`enum`,id:`param-gas-unknown`,children:_jsx(_components.p,{children:`Some or all gas entries could not be read.`})}),_jsx(ResponseField,{name:`INTERNAL_TRANSFERS_UNSEEN`,type:`enum`,id:`param-internal-transfers-unseen`,children:_jsx(_components.p,{children:`The transaction’s internal calls were not available. Native-token payments made inside contracts, tips included, may be missing.`})}),_jsx(ResponseField,{name:`ENTRIES_MERGED`,type:`enum`,id:`param-entries-merged`,children:_jsxs(_components.p,{children:[`The transaction had more than 32 entries. Entries of the same kind and token were merged into one, which has no single recipient (a merged `,_jsx(_components.code,{children:`POOL_FEE`}),` still shows its pool and venue), and if that was still more than 32, the smallest `,_jsx(_components.code,{children:`OTHER_TRANSFER`}),` entries were left out. Only entries that never count toward totals are left out, so `,_jsx(_components.code,{children:`totalFeesUsd`}),` and the `,_jsx(_components.code,{children:`totalFees`}),` statistics are unaffected.`]})}),_jsx(ResponseField,{name:`UNBALANCED_TRANSFERS`,type:`enum`,id:`param-unbalanced-transfers`,children:_jsx(_components.p,{children:`An address paid out more than it received in a way Codex could not explain. Its payments are left out.`})}),_jsx(ResponseField,{name:`TRADER_UNKNOWN`,type:`enum`,id:`param-trader-unknown`,children:_jsxs(_components.p,{children:[`The trader could not be tied to this transaction’s charges. `,_jsx(_components.code,{children:`TRANSACTION`}),` entries may belong to another party’s activity.`]})}),_jsx(ResponseField,{name:`UNDECODED_VALUE`,type:`enum`,id:`param-undecoded-value`,children:_jsx(_components.p,{children:`Part of the transaction’s on-chain data could not be decoded when the swap was indexed. Fees inside that part are missing.`})}),_jsx(ResponseField,{name:`UNINDEXED_TRADE`,type:`enum`,id:`param-unindexed-trade`,children:_jsxs(_components.p,{children:[`Part of this transaction traded on a venue Codex does not index. That trade’s fee is not in this ledger, so `,_jsx(_components.code,{children:`totalFeesUsd`}),` and `,_jsx(_components.code,{children:`feeToVolumeRatio`}),` are lower bounds.`]})}),_jsx(ResponseField,{name:`FEE_UNCONFIRMED`,type:`enum`,id:`param-fee-unconfirmed`,children:_jsxs(_components.p,{children:[`The ledger lists a transfer that it could not confirm either as a fee or as something other than a fee, so it is shown as an `,_jsx(_components.code,{children:`OTHER_TRANSFER`}),` that is not counted. `,_jsx(_components.code,{children:`totalFeesUsd`}),` and `,_jsx(_components.code,{children:`feeToVolumeRatio`}),` may then be lower bounds.`]})}),_jsx(ResponseField,{name:`FEE_UNPRICED`,type:`enum`,id:`param-fee-unpriced`,children:_jsxs(_components.p,{children:[`An entry Codex counts as a fee has no USD value, because its token, or the swap’s volume for a rate, had no price within one hour before the swap. Its `,_jsx(_components.code,{children:`swapShareUsd`}),` is null and `,_jsx(_components.code,{children:`inTotalFees`}),` is false, so `,_jsx(_components.code,{children:`totalFeesUsd`}),` and `,_jsx(_components.code,{children:`feeToVolumeRatio`}),` are lower bounds. `,_jsx(_components.code,{children:`OTHER_TRANSFER`}),` entries never raise it.`]})}),_jsx(ResponseField,{name:`NO_STATED_FEE`,type:`enum`,id:`param-no-stated-fee`,children:_jsxs(_components.p,{children:[`The venue states no fee on this swap. It takes its value another way, for example inside the price it quotes, so the chain shows no fee to read. No `,_jsx(_components.code,{children:`POOL_FEE`}),` entry is present and the total leaves that cost out.`]})}),_jsx(ResponseField,{name:`UNREADABLE_ENTRY`,type:`enum`,id:`param-unreadable-entry`,children:_jsxs(_components.p,{children:[`This ledger holds something that this version of Codex could not read, because a newer version wrote it: an entry, a whole ledger, a gap, a `,_jsx(_components.code,{children:`settlement`}),` or a `,_jsx(_components.code,{children:`recipientRole`}),`. An entry it could not read is shown as an `,_jsx(_components.code,{children:`OTHER_TRANSFER`}),` that is not counted and has a null `,_jsx(_components.code,{children:`swapShareUsd`}),`, or is left out when it states no token; an unread `,_jsx(_components.code,{children:`recipientRole`}),` is null and its entry is still counted. `,_jsx(_components.code,{children:`totalFeesUsd`}),` and `,_jsx(_components.code,{children:`feeToVolumeRatio`}),` are then lower bounds. When an unread entry has a negative amount it may be a refund of any charge, so every `,_jsx(_components.code,{children:`swapShareUsd`}),` of the swap is null and `,_jsx(_components.code,{children:`totalFeesUsd`}),` is 0. The transaction itself was decoded: see `,_jsx(_components.code,{children:`UNDECODED_VALUE`}),` for the other case.`]})})]})]}),_jsx(ResponseField,{name:`totalFeesUsd`,type:`String!`,id:`param-total-fees-usd`,children:_jsxs(_components.p,{children:[`The sum of `,_jsx(_components.code,{children:`swapShareUsd`}),` over entries where `,_jsx(_components.code,{children:`inTotalFees`}),` is true: what this swap added to its pair’s `,_jsx(_components.code,{children:`totalFees`}),` when it was indexed. Entries with no USD value add nothing, so this is a lower bound when any such entry has a null `,_jsx(_components.code,{children:`swapShareUsd`}),`. It is also a lower bound when `,_jsx(_components.code,{children:`gaps`}),` names a missing cost, e.g. `,_jsx(_components.code,{children:`UNINDEXED_TRADE`}),`. Rounded to 12 decimal places from the exact sum, so it can differ from the sum of the rounded `,_jsx(_components.code,{children:`swapShareUsd`}),` values by less than 0.00000000001.`]})}),_jsx(ResponseField,{name:`feeToVolumeRatio`,type:`String`,id:`param-fee-to-volume-ratio`,children:_jsxs(_components.p,{children:[`What this swap actually cost as a fraction of its size: `,_jsx(_components.code,{children:`totalFeesUsd`}),` divided by the swap’s volume in USD (0.01 means 1%), rounded to 12 decimal places. The same measure as `,_jsx(_components.code,{children:`feeToVolumeRatio`}),` on bars, for one swap. It covers every entry in the total (gas, tips, app and router fees, token tax, net of rebates), where `,_jsx(_components.code,{children:`poolFeeBps`}),` is only the venue’s posted rate. A lower bound whenever `,_jsx(_components.code,{children:`totalFeesUsd`}),` is one: see `,_jsx(_components.code,{children:`gaps`}),`. Null when the swap’s volume is zero or has no USD value, or when no entry in the total has a USD value.`]})}),_jsx(Heading,{level:`3`,id:`used-by`,children:`Used By`}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Returned by`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/queries/gettokenevents`,children:`getTokenEvents`}),`: Returns transactions for a pair.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/queries/gettokeneventsformaker`,children:`getTokenEventsForMaker`}),`: Returns a list of token events for a given maker (wallet address).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/subscriptions/oneventscreated`,children:`onEventsCreated`}),`: Live-streamed transactions for a pair.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/subscriptions/oneventscreatedbymaker`,children:`onEventsCreatedByMaker`}),`: Live-streamed transactions for a maker.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/subscriptions/ontokeneventscreated`,children:`onTokenEventsCreated`}),`: Live-streamed events for a given token across all it’s pools`]}),`\n`]})]}),_jsxs(Visibility,{for:`agents`,children:[_jsx(Heading,{level:`2`,id:`graphql`,children:`GraphQL`}),_jsx(CodeBlock,{numberOfLines:`89`,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:`89`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`type FeeLedger {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` entries: [FeeLedgerEntry!]!`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` transactionSwapCount: Int!`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` gaps: [FeeLedgerGap!]!`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` totalFeesUsd: String!`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` feeToVolumeRatio: String`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`enum FeeKind {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` POOL_FEE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` PROTOCOL_SHARE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` CREATOR_SHARE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` PARTNER_SHARE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` BASE_FEE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` PRIORITY_FEE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` L1_DATA_FEE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` TIP`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` APP_FEE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ROUTER_FEE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` TOKEN_TAX`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` REBATE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` OTHER_TRANSFER`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`enum FeeAmountSource {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` OBSERVED`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` REPORTED`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ESTIMATED`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` RECEIPT`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` UNKNOWN`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`enum FeeScope {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` SWAP`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` TRANSACTION`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` UNKNOWN`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`enum FeeRecipientRole {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` CREATOR`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` PROTOCOL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` REFERRER`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` HOST`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` BUYBACK`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` REWARDS`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`enum FeeSettlement {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` PAID_OUT`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` HELD_BY_VENUE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ACCRUED`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`type FeeLedgerEntry {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` kind: FeeKind!`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` token: String!`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` amountRaw: String!`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` amount: String`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` tokenDecimals: Int`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` amountSource: FeeAmountSource!`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` rate: String`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` scope: FeeScope!`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` amountUsd: String`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` swapShareUsd: String`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` inTotalFees: Boolean!`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` recipient: String`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` payer: String`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` recipientName: String`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` recipientId: String`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` recipientRole: FeeRecipientRole`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` settlement: FeeSettlement`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`enum FeeLedgerGap {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` POOL_FEE_UNKNOWN`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` REGISTRY_UNAVAILABLE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` GAS_UNKNOWN`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` INTERNAL_TRANSFERS_UNSEEN`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ENTRIES_MERGED`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` UNBALANCED_TRANSFERS`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` TRADER_UNKNOWN`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` UNDECODED_VALUE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` UNINDEXED_TRADE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` FEE_UNCONFIRMED`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` FEE_UNPRICED`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` NO_STATED_FEE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` UNREADABLE_ENTRY`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(Heading,{level:`3`,id:`used-by-2`,children:`Used By`}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Returned by`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/queries/gettokenevents.md`,children:`getTokenEvents`}),`: Returns transactions for a pair.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/queries/gettokeneventsformaker.md`,children:`getTokenEventsForMaker`}),`: Returns a list of token events for a given maker (wallet address).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/subscriptions/oneventscreated.md`,children:`onEventsCreated`}),`: Live-streamed transactions for a pair.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/subscriptions/oneventscreatedbymaker.md`,children:`onEventsCreatedByMaker`}),`: Live-streamed transactions for a maker.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/subscriptions/ontokeneventscreated.md`,children:`onTokenEventsCreated`}),`: Live-streamed events for a given token across all it’s pools`]}),`\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":"FeeLedger","description":"Every fee, tax, tip and rebate one swap paid, with who paid it and who received it. Present on Confirmed swap events on networks where the fee ledger is switched on. Null on older events, on Processed events, and on mints and burns. `totalFeesUsd` is the sum of `swapShareUsd` over entries where `inTotalFees` is true. It is what this swap added to its pair's `totalFees` when the swap was indexed. Codex keeps refining how it classifies fees and names recipients. A later swap of the same kind can therefore carry a different `kind`, recipient name or `inTotalFees` than an earlier one: for example, a transfer shown as `OTHER_TRANSFER` today can be shown as a fee for later swaps as Codex's classification improves. A swap that is already indexed keeps the ledger it was given. Its amounts, tokens and transaction do not change. A `POOL_FEE` entry is the venue's whole fee for the swap. `PROTOCOL_SHARE`, `CREATOR_SHARE` and `PARTNER_SHARE` entries are parts of that fee, paid out to named recipients or set aside for them: they are shown for attribution and are never added on top of it. What the venue or its liquidity providers kept is the pool fee less its shares. `inTotalFees` marks which of them `totalFeesUsd` counts, and `settlement` says whether each amount left the venue during the trade. Every USD value in the ledger is rounded to 12 decimal places.","robots":"noindex, follow","tag":"New","tagExpiry":"2027-02-02","href":"/api-reference/types/feeledger"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Used By","slug":"used-by","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/codex-dfdf2708/33e6e461d14483bc/sidebar.js","/_mintlify/custom/codex-dfdf2708/48a6922c4e362d61/auth-banner.js","/_mintlify/custom/codex-dfdf2708/9667db1a2231fad3/roadmap.js","/_mintlify/custom/codex-dfdf2708/6467ea3b36d51417/beamer-widget.js","/_mintlify/custom/codex-dfdf2708/66af1d0d80653d3c/faq-schema.js"],"subdomain":"codex-dfdf2708","siteName":"Codex","title":"FeeLedger - Codex","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-02T19:25:06.002Z","gitLastModified":"2026-12-02T19:24:33.000Z","originalFileLocation":"api-reference/types/feeledger.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=\"Every fee, tax, tip and rebate one swap paid, with who paid it and who received it. Present on Confirmed swap events on networks where the fee ledger is switched on. Null on older events, on Processed events, and on mints and burns. totalFeesUsd is the sum of swapShareUsd over entries where inTotalFees is true. It is what this swap added to its pair\u0026#x27;s totalFees when the swap was indexed. Codex keeps refining how it classifies fees and names recipients. A later swap of the same kind can therefore carry a different kind, recipient name or inTotalFees than an earlier one: for example, a transfer shown as OTHER_TRANSFER today can be shown as a fee for later swaps as Codex\u0026#x27;s classification improves. A swap that is already indexed keeps the ledger it was given. Its amounts, tokens and transaction do not change. A POOL_FEE entry is the venue\u0026#x27;s whole fee for the swap. PROTOCOL_SHARE, CREATOR_SHARE and PARTNER_SHARE entries are parts of that fee, paid out to named recipients or set aside for them: they are shown for attribution and are never added on top of it. What the venue or its liquidity providers kept is the pool fee less its shares. inTotalFees marks which of them totalFeesUsd counts, and settlement says whether each amount left the venue during the trade. Every USD value in the ledger is rounded to 12 decimal places.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Codex\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/codex-dfdf2708/TVzDtgA6PD61rlZ_/_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/codex-dfdf2708/TVzDtgA6PD61rlZ_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/codex-dfdf2708/TVzDtgA6PD61rlZ_/_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/codex-dfdf2708/TVzDtgA6PD61rlZ_/_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/codex-dfdf2708/TVzDtgA6PD61rlZ_/_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/codex-dfdf2708/TVzDtgA6PD61rlZ_/_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/codex-dfdf2708/TVzDtgA6PD61rlZ_/_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/codex-dfdf2708/TVzDtgA6PD61rlZ_/_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/codex-dfdf2708/TVzDtgA6PD61rlZ_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"FeeLedger - Codex\">\u003cmeta data-mint-head property=\"og:description\" content=\"Every fee, tax, tip and rebate one swap paid, with who paid it and who received it. Present on Confirmed swap events on networks where the fee ledger is switched on. Null on older events, on Processed events, and on mints and burns. totalFeesUsd is the sum of swapShareUsd over entries where inTotalFees is true. It is what this swap added to its pair\u0026#x27;s totalFees when the swap was indexed. Codex keeps refining how it classifies fees and names recipients. A later swap of the same kind can therefore carry a different kind, recipient name or inTotalFees than an earlier one: for example, a transfer shown as OTHER_TRANSFER today can be shown as a fee for later swaps as Codex\u0026#x27;s classification improves. A swap that is already indexed keeps the ledger it was given. Its amounts, tokens and transaction do not change. A POOL_FEE entry is the venue\u0026#x27;s whole fee for the swap. PROTOCOL_SHARE, CREATOR_SHARE and PARTNER_SHARE entries are parts of that fee, paid out to named recipients or set aside for them: they are shown for attribution and are never added on top of it. What the venue or its liquidity providers kept is the pool fee less its shares. inTotalFees marks which of them totalFeesUsd counts, and settlement says whether each amount left the venue during the trade. Every USD value in the ledger is rounded to 12 decimal places.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Codex Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.codex.io/api-reference/types/feeledger\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://codex-dfdf2708.mintlify.site/_mintlify/api/og/v2?division=Object+Types\u0026amp;title=FeeLedger\u0026amp;description=Every+fee%2C+tax%2C+tip+and+rebate+one+swap+paid%2C+with+who+paid+it+and+who+received+it.+Present+on+Confirmed+swap+events+on+networks+where+the+fee+ledger+is+switche\u0026amp;theme=d5c8eba6f0cfb975be396b74\u0026amp;signature=6973b893a30ee64d56c2e7fac4ea31b4b502f36b0b74c862d48493c8128194a3\">\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=\"FeeLedger - Codex\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Every fee, tax, tip and rebate one swap paid, with who paid it and who received it. Present on Confirmed swap events on networks where the fee ledger is switched on. Null on older events, on Processed events, and on mints and burns. totalFeesUsd is the sum of swapShareUsd over entries where inTotalFees is true. It is what this swap added to its pair\u0026#x27;s totalFees when the swap was indexed. Codex keeps refining how it classifies fees and names recipients. A later swap of the same kind can therefore carry a different kind, recipient name or inTotalFees than an earlier one: for example, a transfer shown as OTHER_TRANSFER today can be shown as a fee for later swaps as Codex\u0026#x27;s classification improves. A swap that is already indexed keeps the ledger it was given. Its amounts, tokens and transaction do not change. A POOL_FEE entry is the venue\u0026#x27;s whole fee for the swap. PROTOCOL_SHARE, CREATOR_SHARE and PARTNER_SHARE entries are parts of that fee, paid out to named recipients or set aside for them: they are shown for attribution and are never added on top of it. What the venue or its liquidity providers kept is the pool fee less its shares. inTotalFees marks which of them totalFeesUsd counts, and settlement says whether each amount left the venue during the trade. Every USD value in the ledger is rounded to 12 decimal places.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://codex-dfdf2708.mintlify.site/_mintlify/api/og/v2?division=Object+Types\u0026amp;title=FeeLedger\u0026amp;description=Every+fee%2C+tax%2C+tip+and+rebate+one+swap+paid%2C+with+who+paid+it+and+who+received+it.+Present+on+Confirmed+swap+events+on+networks+where+the+fee+ledger+is+switche\u0026amp;theme=d5c8eba6f0cfb975be396b74\u0026amp;signature=6973b893a30ee64d56c2e7fac4ea31b4b502f36b0b74c862d48493c8128194a3\">\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/codex-dfdf2708/TVzDtgA6PD61rlZ_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Codex\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2b2b2b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.codex.io/api-reference/types/feeledger\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/types/feeledger.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.codex.io/#organization\",\"name\":\"Codex\",\"url\":\"https://www.codex.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/codex-dfdf2708/7w4fQJ0S9L8CNB96/logo/light.svg?fit=max\u0026auto=format\u0026n=7w4fQJ0S9L8CNB96\u0026q=85\u0026s=76c0f89798492bff4223b787eaa98357\"},\"sameAs\":[\"https://x.com/trycodex\",\"https://github.com/codex-data\",\"https://t.me/CodexData\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.codex.io#website\",\"name\":\"Codex\",\"url\":\"https://docs.codex.io\",\"publisher\":{\"@id\":\"https://www.codex.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.codex.io/api-reference/types/feeledger#webpage\",\"url\":\"https://docs.codex.io/api-reference/types/feeledger\",\"name\":\"FeeLedger\",\"description\":\"Every fee, tax, tip and rebate one swap paid, with who paid it and who received it. Present on Confirmed swap events on networks where the fee ledger is switched on. Null on older events, on Processed events, and on mints and burns. totalFeesUsd is the sum of swapShareUsd over entries where inTotalFees is true. It is what this swap added to its pair's totalFees when the swap was indexed. Codex keeps refining how it classifies fees and names recipients. A later swap of the same kind can therefore carry a different kind, recipient name or inTotalFees than an earlier one: for example, a transfer shown as OTHER_TRANSFER today can be shown as a fee for later swaps as Codex's classification improves. A swap that is already indexed keeps the ledger it was given. Its amounts, tokens and transaction do not change. A POOL_FEE entry is the venue's whole fee for the swap. PROTOCOL_SHARE, CREATOR_SHARE and PARTNER_SHARE entries are parts of that fee, paid out to named recipients or set aside for them: they are shown for attribution and are never added on top of it. What the venue or its liquidity providers kept is the pool fee less its shares. inTotalFees marks which of them totalFeesUsd counts, and settlement says whether each amount left the venue during the trade. Every USD value in the ledger is rounded to 12 decimal places.\",\"dateModified\":\"2026-12-02T19:24:33.000Z\",\"isPartOf\":{\"@id\":\"https://docs.codex.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.codex.io/api-reference/types/feeledger#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.codex.io/api-reference/types/feeledger#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Types\",\"item\":\"https://docs.codex.io/api-reference/types/addeventsbymakeroutput\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Object Types\",\"item\":\"https://docs.codex.io/api-reference/types/addeventsbymakeroutput\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"FeeLedger\",\"item\":\"https://docs.codex.io/api-reference/types/feeledger\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.codex.io/api-reference/types/feeledger#article\",\"headline\":\"FeeLedger\",\"name\":\"FeeLedger\",\"description\":\"Every fee, tax, tip and rebate one swap paid, with who paid it and who received it. Present on Confirmed swap events on networks where the fee ledger is switched on. Null on older events, on Processed events, and on mints and burns. totalFeesUsd is the sum of swapShareUsd over entries where inTotalFees is true. It is what this swap added to its pair's totalFees when the swap was indexed. Codex keeps refining how it classifies fees and names recipients. A later swap of the same kind can therefore carry a different kind, recipient name or inTotalFees than an earlier one: for example, a transfer shown as OTHER_TRANSFER today can be shown as a fee for later swaps as Codex's classification improves. A swap that is already indexed keeps the ledger it was given. Its amounts, tokens and transaction do not change. A POOL_FEE entry is the venue's whole fee for the swap. PROTOCOL_SHARE, CREATOR_SHARE and PARTNER_SHARE entries are parts of that fee, paid out to named recipients or set aside for them: they are shown for attribution and are never added on top of it. What the venue or its liquidity providers kept is the pool fee less its shares. inTotalFees marks which of them totalFeesUsd counts, and settlement says whether each amount left the venue during the trade. Every USD value in the ledger is rounded to 12 decimal places.\",\"url\":\"https://docs.codex.io/api-reference/types/feeledger\",\"mainEntityOfPage\":{\"@id\":\"https://docs.codex.io/api-reference/types/feeledger#webpage\"},\"dateModified\":\"2026-12-02T19:24:33.000Z\",\"publisher\":{\"@id\":\"https://www.codex.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.codex.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Codex\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Codex\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/types/feeledger.md","siteName":"Codex","nav":{"global":null,"tabs":[{"tab":"Welcome","pages":[{"title":"Welcome","href":""}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"group":"Queries","pages":[{"group":"Tokens","pages":[{"title":"filterTokens","sidebarTitle":"Filter Tokens","href":"/api-reference/queries/filtertokens"},{"title":"filterExchanges","sidebarTitle":"Filter Exchanges","href":"/api-reference/queries/filterexchanges"},{"title":"getDetailedTokenStats","sidebarTitle":"Detailed Token Stats","href":"/api-reference/queries/getdetailedtokenstats"},{"title":"getTokenPrices","sidebarTitle":"Token Prices","href":"/api-reference/queries/gettokenprices"},{"title":"getTokenBars","sidebarTitle":"Token Chart Data (OHLCV)","href":"/api-reference/queries/gettokenbars"},{"title":"top10HoldersPercent","sidebarTitle":"Top 10 Holders (% Held)","href":"/api-reference/queries/top10holderspercent"},{"title":"token","sidebarTitle":"Token","href":"/api-reference/queries/token"},{"title":"tokens","sidebarTitle":"Tokens (Bulk)","href":"/api-reference/queries/tokens"},{"title":"tokenSparklines","sidebarTitle":"Token Sparklines","href":"/api-reference/queries/tokensparklines"},{"title":"getSimulateTokenContractResults","sidebarTitle":"Token Contract Analysis Results","href":"/api-reference/queries/getsimulatetokencontractresults"},{"title":"tokenTopTraders","sidebarTitle":"Top Token Traders","href":"/api-reference/queries/tokentoptraders"},{"title":"tokenWalletStats","sidebarTitle":"Token Wallet Stats","href":"/api-reference/queries/tokenwalletstats"}]},{"group":"Pairs","pages":[{"title":"filterPairs","sidebarTitle":"Filter Pairs","href":"/api-reference/queries/filterpairs"},{"title":"getDetailedPairStats","sidebarTitle":"Detailed Pair Stats","href":"/api-reference/queries/getdetailedpairstats"},{"title":"getDetailedPairsStats","sidebarTitle":"Detailed Pair Stats (Bulk)","href":"/api-reference/queries/getdetailedpairsstats"},{"title":"getSymbol","sidebarTitle":"TradingView Symbol","href":"/api-reference/queries/getsymbol"},{"title":"getBars","sidebarTitle":"Pair Chart Data (OHLCV)","href":"/api-reference/queries/getbars"},{"title":"getExchanges","sidebarTitle":"Exchanges","href":"/api-reference/queries/getexchanges"},{"title":"chartUrls","sidebarTitle":"Chart URLs","href":"/api-reference/queries/charturls"},{"title":"pairs","sidebarTitle":"Pairs (Bulk)","tag":"New","href":"/api-reference/queries/pairs"},{"title":"pairMetadata","sidebarTitle":"Pair Metadata","href":"/api-reference/queries/pairmetadata"},{"title":"listPairsForToken","sidebarTitle":"Pairs for Token","href":"/api-reference/queries/listpairsfortoken"},{"title":"listPairsWithMetadataForToken","sidebarTitle":"Pairs for Token (with Metadata)","href":"/api-reference/queries/listpairswithmetadatafortoken"},{"title":"liquidityLocksV2","sidebarTitle":"Liquidity Locks V2","href":"/api-reference/queries/liquiditylocksv2"},{"title":"liquidityMetadata","sidebarTitle":"Liquidity Metadata","href":"/api-reference/queries/liquiditymetadata"},{"title":"liquidityMetadataByToken","sidebarTitle":"Liquidity Metadata (by Token)","href":"/api-reference/queries/liquiditymetadatabytoken"}]},{"group":"Events","pages":[{"title":"getTokenEvents","sidebarTitle":"Pair Events","href":"/api-reference/queries/gettokenevents"},{"title":"getTokenEventsForMaker","sidebarTitle":"Wallet Events","href":"/api-reference/queries/gettokeneventsformaker"},{"title":"getEventLabels","sidebarTitle":"Event Labels","href":"/api-reference/queries/geteventlabels"}]},{"group":"Wallets","pages":[{"title":"walletLabelTypes","sidebarTitle":"Wallet Label Types","href":"/api-reference/queries/walletlabeltypes"},{"title":"walletAggregateBackfillState","sidebarTitle":"Wallet Backfill State","href":"/api-reference/queries/walletaggregatebackfillstate"},{"title":"filterWallets","sidebarTitle":"Filter Wallets","href":"/api-reference/queries/filterwallets"},{"title":"filterTokenWallets","sidebarTitle":"Filter Wallets by Token","href":"/api-reference/queries/filtertokenwallets"},{"title":"wallets","tag":"New","href":"/api-reference/queries/wallets"},{"title":"detailedWalletStats","sidebarTitle":"Detailed Wallet Stats","href":"/api-reference/queries/detailedwalletstats"},{"title":"walletChart","sidebarTitle":"Wallet Chart","href":"/api-reference/queries/walletchart"},{"title":"walletTrades","tag":"New","href":"/api-reference/queries/wallettrades"}]},{"group":"Launchpads","pages":[{"title":"filterLaunchpads","sidebarTitle":"Filter Launchpads","href":"/api-reference/queries/filterlaunchpads"}]},{"group":"Authentication","pages":[{"title":"apiTokens","sidebarTitle":"API Tokens","href":"/api-reference/queries/apitokens"},{"title":"apiToken","sidebarTitle":"API Token","href":"/api-reference/queries/apitoken"}]},{"group":"Balances","pages":[{"title":"balances","sidebarTitle":"Balances","href":"/api-reference/queries/balances"},{"title":"holders","sidebarTitle":"Holders","href":"/api-reference/queries/holders"}]},{"group":"Categories","pages":[{"title":"categories","sidebarTitle":"Categories","href":"/api-reference/queries/categories"},{"title":"category","sidebarTitle":"Category","href":"/api-reference/queries/category"},{"title":"categoryTokens","sidebarTitle":"Category Tokens","href":"/api-reference/queries/categorytokens"}]},{"group":"Community","pages":[{"title":"getCommunityNotes","sidebarTitle":"Community Notes","href":"/api-reference/queries/getcommunitynotes"}]},{"group":"Networks","pages":[{"title":"blocks","sidebarTitle":"Blocks","href":"/api-reference/queries/blocks"},{"title":"getNetworks","sidebarTitle":"Networks","href":"/api-reference/queries/getnetworks"},{"title":"getNetworkStatus","sidebarTitle":"Network Status","href":"/api-reference/queries/getnetworkstatus"},{"title":"getNetworkConfigs","sidebarTitle":"Network Configs","href":"/api-reference/queries/getnetworkconfigs"},{"title":"filterNetworks","sidebarTitle":"Filter Networks","href":"/api-reference/queries/filternetworks"},{"title":"getNetworkStats","sidebarTitle":"Network Stats","href":"/api-reference/queries/getnetworkstats"},{"title":"getNetworkBars","sidebarTitle":"Network Chart Data","tag":"New","href":"/api-reference/queries/getnetworkbars"}]},{"group":"Predictions","pages":[{"title":"Predictions Overview","sidebarTitle":"Overview","href":"/api-reference/predictions-overview"},{"group":"Events","pages":[{"title":"filterPredictionEvents","sidebarTitle":"Filter Events","href":"/api-reference/queries/filterpredictionevents"},{"title":"detailedPredictionEventStats","sidebarTitle":"Detailed Event Stats","href":"/api-reference/queries/detailedpredictioneventstats"},{"title":"predictionEventBars","sidebarTitle":"Event Chart Data","href":"/api-reference/queries/predictioneventbars"},{"title":"predictionEventTopMarketsBars","sidebarTitle":"Event Top Markets Chart Data","href":"/api-reference/queries/predictioneventtopmarketsbars"},{"title":"predictionCategories","sidebarTitle":"Categories","href":"/api-reference/queries/predictioncategories"}]},{"group":"Markets","pages":[{"title":"filterPredictionMarkets","sidebarTitle":"Filter Markets","href":"/api-reference/queries/filterpredictionmarkets"},{"title":"eventScopedFilterPredictionMarkets","sidebarTitle":"Filter Markets (Event-Scoped)","href":"/api-reference/queries/eventscopedfilterpredictionmarkets"},{"title":"predictionMarkets","sidebarTitle":"Markets","href":"/api-reference/queries/predictionmarkets"},{"title":"detailedPredictionMarketStats","sidebarTitle":"Detailed Market Stats","href":"/api-reference/queries/detailedpredictionmarketstats"},{"title":"predictionMarketBars","sidebarTitle":"Market Chart Data","href":"/api-reference/queries/predictionmarketbars"},{"title":"predictionMarketPrice","sidebarTitle":"Market Price","href":"/api-reference/queries/predictionmarketprice"},{"title":"predictionTokenHolders","sidebarTitle":"Token Holders","href":"/api-reference/queries/predictiontokenholders"}]},{"group":"Traders","pages":[{"title":"filterPredictionTraders","sidebarTitle":"Filter Traders","href":"/api-reference/queries/filterpredictiontraders"},{"title":"predictionTraders","sidebarTitle":"Traders","href":"/api-reference/queries/predictiontraders"},{"title":"detailedPredictionTraderStats","sidebarTitle":"Detailed Trader Stats","href":"/api-reference/queries/detailedpredictiontraderstats"},{"title":"predictionTraderMarketsStats","sidebarTitle":"Trader Markets Stats","href":"/api-reference/queries/predictiontradermarketsstats"},{"title":"filterPredictionTraderMarkets","sidebarTitle":"Filter Trader Markets","href":"/api-reference/queries/filterpredictiontradermarkets"},{"title":"predictionTraderHoldings","sidebarTitle":"Trader Holdings","href":"/api-reference/queries/predictiontraderholdings"},{"title":"predictionTraderBars","sidebarTitle":"Trader Chart Data","href":"/api-reference/queries/predictiontraderbars"}]},{"group":"Trades \u0026 Order Books","pages":[{"title":"predictionTrades","sidebarTitle":"Trades","href":"/api-reference/queries/predictiontrades"},{"title":"predictionOutcomeOrderBooks","sidebarTitle":"Outcome Order Books","href":"/api-reference/queries/predictionoutcomeorderbooks"}]}]},{"group":"Uncategorized","pages":[{"title":"getTokenBrief","tag":"New","href":"/api-reference/queries/gettokenbrief"}]},{"group":"Usage","pages":[{"title":"apiUsage","tag":"New","href":"/api-reference/queries/apiusage"},{"title":"usageData","tag":"New","href":"/api-reference/queries/usagedata"}]},{"group":"Webhooks","pages":[{"title":"getWebhooks","sidebarTitle":"Webhooks","href":"/api-reference/queries/getwebhooks"}]}]},{"group":"Mutations","pages":[{"group":"Tokens","pages":[{"title":"simulateTokenContract","sidebarTitle":"Analyze Token Contract","href":"/api-reference/mutations/simulatetokencontract"}]},{"group":"Wallets","pages":[{"title":"backfillWalletAggregates","sidebarTitle":"Backfill Wallet Aggregates","href":"/api-reference/mutations/backfillwalletaggregates"}]},{"group":"Authentication","pages":[{"title":"createApiTokens","sidebarTitle":"Create API Tokens","href":"/api-reference/mutations/createapitokens"},{"title":"deleteApiToken","sidebarTitle":"Delete API Token","href":"/api-reference/mutations/deleteapitoken"}]},{"group":"Balances","pages":[{"title":"refreshBalances","sidebarTitle":"Refresh Balances","href":"/api-reference/mutations/refreshbalances"}]},{"group":"Webhooks","pages":[{"title":"createWebhooks","sidebarTitle":"Create Webhooks","href":"/api-reference/mutations/createwebhooks"},{"title":"deleteWebhooks","sidebarTitle":"Delete Webhooks","href":"/api-reference/mutations/deletewebhooks"}]}]},{"group":"Subscriptions","pages":[{"group":"Tokens","pages":[{"title":"onTokenBarsUpdated","sidebarTitle":"Token Chart Updates (OHLCV)","href":"/api-reference/subscriptions/ontokenbarsupdated"},{"title":"onPriceUpdated","sidebarTitle":"Price Updates","href":"/api-reference/subscriptions/onpriceupdated"},{"title":"onPricesUpdated","sidebarTitle":"Price Updates (Bulk)","href":"/api-reference/subscriptions/onpricesupdated"},{"title":"onDetailedTokenStatsUpdated","sidebarTitle":"Detailed Token Stats Updates","href":"/api-reference/subscriptions/ondetailedtokenstatsupdated"},{"title":"onFilterTokensUpdated","sidebarTitle":"Filter Tokens Updates","href":"/api-reference/subscriptions/onfiltertokensupdated"},{"title":"onSimulateTokenContract","sidebarTitle":"Token Contract Analysis Updates","href":"/api-reference/subscriptions/onsimulatetokencontract"}]},{"group":"Pairs","pages":[{"title":"onBarsUpdated","sidebarTitle":"Pair Chart Updates (OHLCV)","href":"/api-reference/subscriptions/onbarsupdated"},{"title":"onPairMetadataUpdated","sidebarTitle":"Pair Metadata Updates","href":"/api-reference/subscriptions/onpairmetadataupdated"},{"title":"onDetailedStatsUpdated","sidebarTitle":"Detailed Pair Stats Updates","href":"/api-reference/subscriptions/ondetailedstatsupdated"}]},{"group":"Events","pages":[{"title":"onEventsCreated","sidebarTitle":"New Pair Events","href":"/api-reference/subscriptions/oneventscreated"},{"title":"onEventsCreatedByMaker","sidebarTitle":"New Wallet Events","href":"/api-reference/subscriptions/oneventscreatedbymaker"},{"title":"onEventLabelCreated","sidebarTitle":"New Event Labels","href":"/api-reference/subscriptions/oneventlabelcreated"},{"title":"onTokenEventsCreated","sidebarTitle":"New Token Events","href":"/api-reference/subscriptions/ontokeneventscreated"}]},{"group":"Launchpads","pages":[{"title":"onLaunchpadTokenEventBatch","sidebarTitle":"Launchpad Events (Batched)","href":"/api-reference/subscriptions/onlaunchpadtokeneventbatch"},{"title":"onLaunchpadTokenEvent","sidebarTitle":"Launchpad Events","href":"/api-reference/subscriptions/onlaunchpadtokenevent"}]},{"group":"Balances","pages":[{"title":"onHoldersUpdated","sidebarTitle":"Holder Updates","href":"/api-reference/subscriptions/onholdersupdated"},{"title":"onBalanceUpdated","sidebarTitle":"Balance Updates","href":"/api-reference/subscriptions/onbalanceupdated"}]},{"group":"Predictions","pages":[{"title":"onPredictionTradesCreated","sidebarTitle":"New Trades","href":"/api-reference/subscriptions/onpredictiontradescreated"},{"title":"onDetailedPredictionMarketStatsUpdated","sidebarTitle":"Detailed Market Stats Updates","href":"/api-reference/subscriptions/ondetailedpredictionmarketstatsupdated"},{"title":"onDetailedPredictionEventStatsUpdated","sidebarTitle":"Detailed Event Stats Updates","href":"/api-reference/subscriptions/ondetailedpredictioneventstatsupdated"},{"title":"onPredictionMarketBarsUpdated","sidebarTitle":"Market Chart Updates","href":"/api-reference/subscriptions/onpredictionmarketbarsupdated"},{"title":"onPredictionEventBarsUpdated","sidebarTitle":"Event Chart Updates","href":"/api-reference/subscriptions/onpredictioneventbarsupdated"}]}]},{"group":"Types","pages":[{"group":"Object Types","pages":[{"title":"AddEventsByMakerOutput","href":"/api-reference/types/addeventsbymakeroutput"},{"title":"AddEventsOutput","href":"/api-reference/types/addeventsoutput"},{"title":"AddPredictionTradeOutput","href":"/api-reference/types/addpredictiontradeoutput"},{"title":"AddTokenEventsOutput","href":"/api-reference/types/addtokeneventsoutput"},{"title":"ApiToken","href":"/api-reference/types/apitoken"},{"title":"ApiUsage","tag":"New","href":"/api-reference/types/apiusage"},{"title":"ApiUsageBreakdown","tag":"New","href":"/api-reference/types/apiusagebreakdown"},{"title":"AptosNetworkConfig","href":"/api-reference/types/aptosnetworkconfig"},{"title":"ArenaTradeData","href":"/api-reference/types/arenatradedata"},{"title":"Asset","href":"/api-reference/types/asset"},{"title":"AssetDeployment","href":"/api-reference/types/assetdeployment"},{"title":"B20Extensions","href":"/api-reference/types/b20extensions"},{"title":"Balance","href":"/api-reference/types/balance"},{"title":"BalancesResponse","href":"/api-reference/types/balancesresponse"},{"title":"BarsResponse","href":"/api-reference/types/barsresponse"},{"title":"Block","href":"/api-reference/types/block"},{"title":"BurnEventData","href":"/api-reference/types/burneventdata"},{"title":"Category","href":"/api-reference/types/category"},{"title":"CategoryTokenConnection","href":"/api-reference/types/categorytokenconnection"},{"title":"ChartUrl","href":"/api-reference/types/charturl"},{"title":"ChartUrlsResponse","href":"/api-reference/types/charturlsresponse"},{"title":"CoinCommunity","href":"/api-reference/types/coincommunity"},{"title":"CommunityNote","href":"/api-reference/types/communitynote"},{"title":"CommunityNotesResponse","href":"/api-reference/types/communitynotesresponse"},{"title":"ComparisonOperator","href":"/api-reference/types/comparisonoperator"},{"title":"ContractLabel","href":"/api-reference/types/contractlabel"},{"title":"CreateWebhooksOutput","href":"/api-reference/types/createwebhooksoutput"},{"title":"CurrencyBarData","href":"/api-reference/types/currencybardata"},{"title":"CurrencyOHLC","href":"/api-reference/types/currencyohlc"},{"title":"CurrencyUnits","href":"/api-reference/types/currencyunits"},{"title":"CurrencyValuePair","href":"/api-reference/types/currencyvaluepair"},{"title":"DecomposedVenueTicker","href":"/api-reference/types/decomposedvenueticker"},{"title":"DeleteWebhooksOutput","href":"/api-reference/types/deletewebhooksoutput"},{"title":"DetailedPairStats","href":"/api-reference/types/detailedpairstats"},{"title":"DetailedPairStatsBucketTimestamp","href":"/api-reference/types/detailedpairstatsbuckettimestamp"},{"title":"DetailedPairStatsNumberMetrics","href":"/api-reference/types/detailedpairstatsnumbermetrics"},{"title":"DetailedPairStatsStringMetrics","href":"/api-reference/types/detailedpairstatsstringmetrics"},{"title":"DetailedPredictionEventStats","href":"/api-reference/types/detailedpredictioneventstats"},{"title":"DetailedPredictionMarketStats","href":"/api-reference/types/detailedpredictionmarketstats"},{"title":"DetailedPredictionStatsScores","href":"/api-reference/types/detailedpredictionstatsscores"},{"title":"DetailedPredictionTraderStats","href":"/api-reference/types/detailedpredictiontraderstats"},{"title":"DetailedStats","href":"/api-reference/types/detailedstats"},{"title":"DetailedStatsBucketTimestamp","href":"/api-reference/types/detailedstatsbuckettimestamp"},{"title":"DetailedStatsNumberMetrics","href":"/api-reference/types/detailedstatsnumbermetrics"},{"title":"DetailedStatsStringMetrics","href":"/api-reference/types/detailedstatsstringmetrics"},{"title":"DetailedSubscriptionPredictionEventStats","href":"/api-reference/types/detailedsubscriptionpredictioneventstats"},{"title":"DetailedSubscriptionPredictionMarketStats","href":"/api-reference/types/detailedsubscriptionpredictionmarketstats"},{"title":"DetailedTokenStats","href":"/api-reference/types/detailedtokenstats"},{"title":"DetailedWalletStats","href":"/api-reference/types/detailedwalletstats"},{"title":"EnhancedToken","href":"/api-reference/types/enhancedtoken"},{"title":"EnhancedWindowedPredictionEventStats","href":"/api-reference/types/enhancedwindowedpredictioneventstats"},{"title":"EnhancedWindowedPredictionMarketStats","href":"/api-reference/types/enhancedwindowedpredictionmarketstats"},{"title":"EnhancedWindowedPredictionOutcomeStats","href":"/api-reference/types/enhancedwindowedpredictionoutcomestats"},{"title":"EnhancedWindowedPredictionTraderStats","href":"/api-reference/types/enhancedwindowedpredictiontraderstats"},{"title":"Erc7572CustomInfo","href":"/api-reference/types/erc7572custominfo"},{"title":"Event","href":"/api-reference/types/event"},{"title":"EventConnection","href":"/api-reference/types/eventconnection"},{"title":"EventFeeData","href":"/api-reference/types/eventfeedata"},{"title":"EventLabel","href":"/api-reference/types/eventlabel"},{"title":"EventLabelConnection","href":"/api-reference/types/eventlabelconnection"},{"title":"EventScopedPredictionMarketFilterConnection","href":"/api-reference/types/eventscopedpredictionmarketfilterconnection"},{"title":"EventScopedPredictionMarketFilterResult","href":"/api-reference/types/eventscopedpredictionmarketfilterresult"},{"title":"EvmNetworkConfig","href":"/api-reference/types/evmnetworkconfig"},{"title":"Exchange","href":"/api-reference/types/exchange"},{"title":"ExchangeFilterConnection","href":"/api-reference/types/exchangefilterconnection"},{"title":"ExchangeFilterResult","href":"/api-reference/types/exchangefilterresult"},{"title":"ExplorerConfig","href":"/api-reference/types/explorerconfig"},{"title":"ExplorerTokenData","description":"Third party token data sourced from off chain. ExplorerTokenData type reference: every field and its type.","href":"/api-reference/types/explorertokendata"},{"title":"FeeLedger","tag":"New","href":"/api-reference/types/feeledger"},{"title":"FeeLedgerEntry","description":"One fee, tax, tip or rebate paid in a swap's transaction. FeeLedgerEntry type reference: every field and its type.","tag":"New","href":"/api-reference/types/feeledgerentry"},{"title":"FilterExchange","href":"/api-reference/types/filterexchange"},{"title":"FilterTokenUpdates","href":"/api-reference/types/filtertokenupdates"},{"title":"FilterTrader","href":"/api-reference/types/filtertrader"},{"title":"FilterTraderMarket","href":"/api-reference/types/filtertradermarket"},{"title":"FrontRunLabelData","href":"/api-reference/types/frontrunlabeldata"},{"title":"GenericRouteSellCheck","tag":"New","href":"/api-reference/types/genericroutesellcheck"},{"title":"GetNetworkStatsResponse","href":"/api-reference/types/getnetworkstatsresponse"},{"title":"GetSimulateTokenContractResultsConnection","href":"/api-reference/types/getsimulatetokencontractresultsconnection"},{"title":"GetWebhooksResponse","href":"/api-reference/types/getwebhooksresponse"},{"title":"HoldersResponse","href":"/api-reference/types/holdersresponse"},{"title":"HoldersUpdate","href":"/api-reference/types/holdersupdate"},{"title":"IndividualBarData","href":"/api-reference/types/individualbardata"},{"title":"IntEqualsCondition","href":"/api-reference/types/intequalscondition"},{"title":"KalshiSportsTickerComponents","href":"/api-reference/types/kalshisportstickercomponents"},{"title":"LabelsForEvent","href":"/api-reference/types/labelsforevent"},{"title":"LaunchpadData","href":"/api-reference/types/launchpaddata"},{"title":"LaunchpadFilterConnection","href":"/api-reference/types/launchpadfilterconnection"},{"title":"LaunchpadFilterResult","href":"/api-reference/types/launchpadfilterresult"},{"title":"LaunchpadStats","href":"/api-reference/types/launchpadstats"},{"title":"LaunchpadTokenEventOutput","href":"/api-reference/types/launchpadtokeneventoutput"},{"title":"LiftHarvestFeeData","href":"/api-reference/types/liftharvestfeedata"},{"title":"LiquidityData","href":"/api-reference/types/liquiditydata"},{"title":"LiquidityLockBreakdownForToken","href":"/api-reference/types/liquiditylockbreakdownfortoken"},{"title":"LiquidityLockV2Connection","href":"/api-reference/types/liquiditylockv2connection"},{"title":"LiquidityMetadata","href":"/api-reference/types/liquiditymetadata"},{"title":"LiquidityMetadataByToken","href":"/api-reference/types/liquiditymetadatabytoken"},{"title":"ListPairsForTokenResponse","href":"/api-reference/types/listpairsfortokenresponse"},{"title":"ListPairsForTokenValue","href":"/api-reference/types/listpairsfortokenvalue"},{"title":"LockBreakdown","href":"/api-reference/types/lockbreakdown"},{"title":"LockedLiquidityData","href":"/api-reference/types/lockedliquiditydata"},{"title":"MakerEventConnection","href":"/api-reference/types/makereventconnection"},{"title":"MarketCapEventWebhookCondition","href":"/api-reference/types/marketcapeventwebhookcondition"},{"title":"MetadataResponse","href":"/api-reference/types/metadataresponse"},{"title":"MintEventData","href":"/api-reference/types/minteventdata"},{"title":"NativeCurrency","href":"/api-reference/types/nativecurrency"},{"title":"Network","href":"/api-reference/types/network"},{"title":"NetworkBar","tag":"New","href":"/api-reference/types/networkbar"},{"title":"NetworkBarsResponse","tag":"New","href":"/api-reference/types/networkbarsresponse"},{"title":"NetworkBreakdown","href":"/api-reference/types/networkbreakdown"},{"title":"NetworkFilterConnection","href":"/api-reference/types/networkfilterconnection"},{"title":"NetworkFilterResult","href":"/api-reference/types/networkfilterresult"},{"title":"NetworkWalletStats","href":"/api-reference/types/networkwalletstats"},{"title":"ObservedSellRoute","tag":"New","href":"/api-reference/types/observedsellroute"},{"title":"OnBarsUpdatedResponse","href":"/api-reference/types/onbarsupdatedresponse"},{"title":"OneOfNumberCondition","href":"/api-reference/types/oneofnumbercondition"},{"title":"OneOfStringCondition","href":"/api-reference/types/oneofstringcondition"},{"title":"OneOfTokenTransferDirectionCondition","href":"/api-reference/types/oneoftokentransferdirectioncondition"},{"title":"OnPredictionEventBarsUpdatedResponse","href":"/api-reference/types/onpredictioneventbarsupdatedresponse"},{"title":"OnPredictionMarketBarsUpdatedResponse","href":"/api-reference/types/onpredictionmarketbarsupdatedresponse"},{"title":"OnTokenBarsUpdatedResponse","href":"/api-reference/types/ontokenbarsupdatedresponse"},{"title":"Organization","href":"/api-reference/types/organization"},{"title":"OrganizationSocial","href":"/api-reference/types/organizationsocial"},{"title":"OrganizationUrl","href":"/api-reference/types/organizationurl"},{"title":"OutcomeBuySellVolumeStats","href":"/api-reference/types/outcomebuysellvolumestats"},{"title":"OutcomeVolumeStats","href":"/api-reference/types/outcomevolumestats"},{"title":"Pair","href":"/api-reference/types/pair"},{"title":"PairFilterConnection","href":"/api-reference/types/pairfilterconnection"},{"title":"PairFilterResult","href":"/api-reference/types/pairfilterresult"},{"title":"PairLockHolder","href":"/api-reference/types/pairlockholder"},{"title":"PairLockSummary","href":"/api-reference/types/pairlocksummary"},{"title":"PairMetadata","href":"/api-reference/types/pairmetadata"},{"title":"PairMetadataToken","href":"/api-reference/types/pairmetadatatoken"},{"title":"PairProtocolCustomData","href":"/api-reference/types/pairprotocolcustomdata"},{"title":"PoolBalanceChangedEventData","href":"/api-reference/types/poolbalancechangedeventdata"},{"title":"PooledTokenValues","href":"/api-reference/types/pooledtokenvalues"},{"title":"PredictionCategory","href":"/api-reference/types/predictioncategory"},{"title":"PredictionEvent","href":"/api-reference/types/predictionevent"},{"title":"PredictionEventAllTimeStats","href":"/api-reference/types/predictioneventalltimestats"},{"title":"PredictionEventBar","href":"/api-reference/types/predictioneventbar"},{"title":"PredictionEventBarOhlc","href":"/api-reference/types/predictioneventbarohlc"},{"title":"PredictionEventBarsResponse","href":"/api-reference/types/predictioneventbarsresponse"},{"title":"PredictionEventEnrichedMetadata","href":"/api-reference/types/predictioneventenrichedmetadata"},{"title":"PredictionEventFilterConnection","href":"/api-reference/types/predictioneventfilterconnection"},{"title":"PredictionEventFilterResult","href":"/api-reference/types/predictioneventfilterresult"},{"title":"PredictionEventFilterResultMarket","href":"/api-reference/types/predictioneventfilterresultmarket"},{"title":"PredictionEventMarketCounts","tag":"New","href":"/api-reference/types/predictioneventmarketcounts"},{"title":"PredictionEventResolutionBarData","href":"/api-reference/types/predictioneventresolutionbardata"},{"title":"PredictionEventTopMarket","href":"/api-reference/types/predictioneventtopmarket"},{"title":"PredictionEventTopMarketsBarsResponse","href":"/api-reference/types/predictioneventtopmarketsbarsresponse"},{"title":"PredictionEventWindowScores","href":"/api-reference/types/predictioneventwindowscores"},{"title":"PredictionLifecycleStats","href":"/api-reference/types/predictionlifecyclestats"},{"title":"PredictionMarket","href":"/api-reference/types/predictionmarket"},{"title":"PredictionMarketAllTimeStats","href":"/api-reference/types/predictionmarketalltimestats"},{"title":"PredictionMarketBar","href":"/api-reference/types/predictionmarketbar"},{"title":"PredictionMarketBarOhlc","href":"/api-reference/types/predictionmarketbarohlc"},{"title":"PredictionMarketBarsResponse","href":"/api-reference/types/predictionmarketbarsresponse"},{"title":"PredictionMarketClassification","href":"/api-reference/types/predictionmarketclassification"},{"title":"PredictionMarketDateBucket","href":"/api-reference/types/predictionmarketdatebucket"},{"title":"PredictionMarketEnrichedMetadata","href":"/api-reference/types/predictionmarketenrichedmetadata"},{"title":"PredictionMarketEntrant","href":"/api-reference/types/predictionmarketentrant"},{"title":"PredictionMarketFilterConnection","href":"/api-reference/types/predictionmarketfilterconnection"},{"title":"PredictionMarketFilterResult","href":"/api-reference/types/predictionmarketfilterresult"},{"title":"PredictionMarketMetricsEventMarketCondition","href":"/api-reference/types/predictionmarketmetricseventmarketcondition"},{"title":"PredictionMarketMetricsEventOutcomeCondition","href":"/api-reference/types/predictionmarketmetricseventoutcomecondition"},{"title":"PredictionMarketMetricsEventWebhookCondition","href":"/api-reference/types/predictionmarketmetricseventwebhookcondition"},{"title":"PredictionMarketOutcomePrice","href":"/api-reference/types/predictionmarketoutcomeprice"},{"title":"PredictionMarketPrice","href":"/api-reference/types/predictionmarketprice"},{"title":"PredictionMarketResolutionBarData","href":"/api-reference/types/predictionmarketresolutionbardata"},{"title":"PredictionMarketSegment","href":"/api-reference/types/predictionmarketsegment"},{"title":"PredictionMarketThresholdBucket","href":"/api-reference/types/predictionmarketthresholdbucket"},{"title":"PredictionMarketWindowScores","href":"/api-reference/types/predictionmarketwindowscores"},{"title":"PredictionOrderBookLevel","href":"/api-reference/types/predictionorderbooklevel"},{"title":"PredictionOutcomeBar","href":"/api-reference/types/predictionoutcomebar"},{"title":"PredictionOutcomeFilterResult","href":"/api-reference/types/predictionoutcomefilterresult"},{"title":"PredictionOutcomeOrderBook","href":"/api-reference/types/predictionoutcomeorderbook"},{"title":"PredictionResolution","href":"/api-reference/types/predictionresolution"},{"title":"PredictionSubcategory","href":"/api-reference/types/predictionsubcategory"},{"title":"PredictionSubSubcategory","href":"/api-reference/types/predictionsubsubcategory"},{"title":"PredictionTokenBalance","href":"/api-reference/types/predictiontokenbalance"},{"title":"PredictionTokenHoldersConnection","href":"/api-reference/types/predictiontokenholdersconnection"},{"title":"PredictionTrade","href":"/api-reference/types/predictiontrade"},{"title":"PredictionTradeEventTypeCondition","href":"/api-reference/types/predictiontradeeventtypecondition"},{"title":"PredictionTrader","href":"/api-reference/types/predictiontrader"},{"title":"PredictionTraderBar","href":"/api-reference/types/predictiontraderbar"},{"title":"PredictionTraderBarsResponse","href":"/api-reference/types/predictiontraderbarsresponse"},{"title":"PredictionTraderFilterConnection","href":"/api-reference/types/predictiontraderfilterconnection"},{"title":"PredictionTraderFilterResult","href":"/api-reference/types/predictiontraderfilterresult"},{"title":"PredictionTraderHolding","href":"/api-reference/types/predictiontraderholding"},{"title":"PredictionTraderHoldingsConnection","href":"/api-reference/types/predictiontraderholdingsconnection"},{"title":"PredictionTraderMarketFilterConnection","href":"/api-reference/types/predictiontradermarketfilterconnection"},{"title":"PredictionTraderMarketFilterResult","href":"/api-reference/types/predictiontradermarketfilterresult"},{"title":"PredictionTraderMarketsStatsConnection","href":"/api-reference/types/predictiontradermarketsstatsconnection"},{"title":"PredictionTraderMarketStats","href":"/api-reference/types/predictiontradermarketstats"},{"title":"PredictionTraderOutcomeFilterResult","href":"/api-reference/types/predictiontraderoutcomefilterresult"},{"title":"PredictionTraderOutcomeStats","href":"/api-reference/types/predictiontraderoutcomestats"},{"title":"PredictionTradesConnection","href":"/api-reference/types/predictiontradesconnection"},{"title":"PredictionTradeWebhookCondition","href":"/api-reference/types/predictiontradewebhookcondition"},{"title":"Price","href":"/api-reference/types/price"},{"title":"PriceEventWebhookCondition","href":"/api-reference/types/priceeventwebhookcondition"},{"title":"PriceOHLC","href":"/api-reference/types/priceohlc"},{"title":"PriceValuePair","href":"/api-reference/types/pricevaluepair"},{"title":"PumpAmmCashbackFeeData","href":"/api-reference/types/pumpammcashbackfeedata"},{"title":"PumpCashbackFeeData","href":"/api-reference/types/pumpcashbackfeedata"},{"title":"PumpData","href":"/api-reference/types/pumpdata"},{"title":"RawTransactionWebhookCondition","href":"/api-reference/types/rawtransactionwebhookcondition"},{"title":"ResolutionBarData","href":"/api-reference/types/resolutionbardata"},{"title":"RetrySettings","href":"/api-reference/types/retrysettings"},{"title":"RobinhoodStockTokenExtensions","tag":"New","href":"/api-reference/types/robinhoodstocktokenextensions"},{"title":"SandwichedLabelData","href":"/api-reference/types/sandwichedlabeldata"},{"title":"SandwichLabelForEvent","href":"/api-reference/types/sandwichlabelforevent"},{"title":"SearchPredictionEvent","href":"/api-reference/types/searchpredictionevent"},{"title":"SearchPredictionMarket","href":"/api-reference/types/searchpredictionmarket"},{"title":"SellRestriction","tag":"New","href":"/api-reference/types/sellrestriction"},{"title":"SimulateContractBalanceErrorsType","href":"/api-reference/types/simulatecontractbalanceerrorstype"},{"title":"SimulateContractBalanceType","href":"/api-reference/types/simulatecontractbalancetype"},{"title":"SimulateCreatorErrorsType","href":"/api-reference/types/simulatecreatorerrorstype"},{"title":"SimulateCreatorType","href":"/api-reference/types/simulatecreatortype"},{"title":"SimulateDeployErrorsType","href":"/api-reference/types/simulatedeployerrorstype"},{"title":"SimulateDeployType","href":"/api-reference/types/simulatedeploytype"},{"title":"SimulateLiquidityErrorsType","href":"/api-reference/types/simulateliquidityerrorstype"},{"title":"SimulateLiquidityType","href":"/api-reference/types/simulateliquiditytype"},{"title":"SimulateOwnerErrorsType","href":"/api-reference/types/simulateownererrorstype"},{"title":"SimulateOwnerType","href":"/api-reference/types/simulateownertype"},{"title":"SimulateSwapErrorsType","href":"/api-reference/types/simulateswaperrorstype"},{"title":"SimulateSwapType","href":"/api-reference/types/simulateswaptype"},{"title":"SimulateTokenContractErrors","href":"/api-reference/types/simulatetokencontracterrors"},{"title":"SimulateTokenContractResponse","href":"/api-reference/types/simulatetokencontractresponse"},{"title":"SimulateTokenContractResult","href":"/api-reference/types/simulatetokencontractresult"},{"title":"SimulateTokenErrorsType","href":"/api-reference/types/simulatetokenerrorstype"},{"title":"SimulateTokenType","href":"/api-reference/types/simulatetokentype"},{"title":"SimulateTransferErrorsType","href":"/api-reference/types/simulatetransfererrorstype"},{"title":"SimulateTransferType","href":"/api-reference/types/simulatetransfertype"},{"title":"SocialLinks","href":"/api-reference/types/sociallinks"},{"title":"SolanaNetworkConfig","href":"/api-reference/types/solananetworkconfig"},{"title":"SparklineValue","href":"/api-reference/types/sparklinevalue"},{"title":"SportsEventEnrichedMetadata","href":"/api-reference/types/sportseventenrichedmetadata"},{"title":"SportsMarketEnrichedMetadata","href":"/api-reference/types/sportsmarketenrichedmetadata"},{"title":"SportsMarketSelection","tag":"New","href":"/api-reference/types/sportsmarketselection"},{"title":"SportsOutcomeTeam","tag":"New","href":"/api-reference/types/sportsoutcometeam"},{"title":"SportsTeam","href":"/api-reference/types/sportsteam"},{"title":"StarknetNetworkConfig","href":"/api-reference/types/starknetnetworkconfig"},{"title":"StringContainsCondition","href":"/api-reference/types/stringcontainscondition"},{"title":"StringEqualsCondition","href":"/api-reference/types/stringequalscondition"},{"title":"SuiNetworkConfig","href":"/api-reference/types/suinetworkconfig"},{"title":"SwapEventData","href":"/api-reference/types/swapeventdata"},{"title":"SymbolResponse","href":"/api-reference/types/symbolresponse"},{"title":"Token2022Extensions","href":"/api-reference/types/token2022extensions"},{"title":"Token2022ScaledUiAmountConfig","href":"/api-reference/types/token2022scaleduiamountconfig"},{"title":"Token2022TransferFee","href":"/api-reference/types/token2022transferfee"},{"title":"Token2022TransferFeeConfig","href":"/api-reference/types/token2022transferfeeconfig"},{"title":"TokenBarsResponse","href":"/api-reference/types/tokenbarsresponse"},{"title":"TokenExtensions","href":"/api-reference/types/tokenextensions"},{"title":"TokenExtrema","href":"/api-reference/types/tokenextrema"},{"title":"TokenFilterConnection","href":"/api-reference/types/tokenfilterconnection"},{"title":"TokenFilterResult","href":"/api-reference/types/tokenfilterresult"},{"title":"TokenInfo","href":"/api-reference/types/tokeninfo"},{"title":"TokenIssuer","tag":"New","href":"/api-reference/types/tokenissuer"},{"title":"TokenLaunchEventWebhookCondition","href":"/api-reference/types/tokenlauncheventwebhookcondition"},{"title":"TokenPairEventTypeCondition","href":"/api-reference/types/tokenpaireventtypecondition"},{"title":"TokenPairEventWebhookCondition","href":"/api-reference/types/tokenpaireventwebhookcondition"},{"title":"TokenPriceEventWebhookCondition","href":"/api-reference/types/tokenpriceeventwebhookcondition"},{"title":"TokenRisk","href":"/api-reference/types/tokenrisk"},{"title":"TokenSparkline","href":"/api-reference/types/tokensparkline"},{"title":"TokenTopTrader","href":"/api-reference/types/tokentoptrader"},{"title":"TokenTopTradersConnection","href":"/api-reference/types/tokentoptradersconnection"},{"title":"TokenTransferEventWebhookCondition","href":"/api-reference/types/tokentransfereventwebhookcondition"},{"title":"TokenTwitterLink","tag":"New","href":"/api-reference/types/tokentwitterlink"},{"title":"TokenWalletActivity","href":"/api-reference/types/tokenwalletactivity"},{"title":"TokenWalletFilterConnection","href":"/api-reference/types/tokenwalletfilterconnection"},{"title":"TokenWalletFilterResult","href":"/api-reference/types/tokenwalletfilterresult"},{"title":"TokenWalletGroupPeak","tag":"New","href":"/api-reference/types/tokenwalletgrouppeak"},{"title":"TokenWalletPeaks","tag":"New","href":"/api-reference/types/tokenwalletpeaks"},{"title":"TokenWalletStats","href":"/api-reference/types/tokenwalletstats"},{"title":"TollyCollectionFeeData","href":"/api-reference/types/tollycollectionfeedata"},{"title":"TradeSource","href":"/api-reference/types/tradesource"},{"title":"UniswapV4Data","href":"/api-reference/types/uniswapv4data"},{"title":"UsageData","tag":"New","href":"/api-reference/types/usagedata"},{"title":"UsageDataItem","tag":"New","href":"/api-reference/types/usagedataitem"},{"title":"UsageDataMetrics","tag":"New","href":"/api-reference/types/usagedatametrics"},{"title":"Wallet","href":"/api-reference/types/wallet"},{"title":"WalletAggregateBackfillStateResponse","href":"/api-reference/types/walletaggregatebackfillstateresponse"},{"title":"WalletChartData","href":"/api-reference/types/walletchartdata"},{"title":"WalletChartRange","href":"/api-reference/types/walletchartrange"},{"title":"WalletChartResponse","href":"/api-reference/types/walletchartresponse"},{"title":"WalletDomain","tag":"New","href":"/api-reference/types/walletdomain"},{"title":"WalletFilterConnection","href":"/api-reference/types/walletfilterconnection"},{"title":"WalletFilterResult","href":"/api-reference/types/walletfilterresult"},{"title":"WalletFunding","href":"/api-reference/types/walletfunding"},{"title":"WalletLabelType","href":"/api-reference/types/walletlabeltype"},{"title":"WalletPolymarketProfile","href":"/api-reference/types/walletpolymarketprofile"},{"title":"WalletTrade","tag":"New","href":"/api-reference/types/wallettrade"},{"title":"WalletTradeCoverage","tag":"New","href":"/api-reference/types/wallettradecoverage"},{"title":"WalletTradeFlow","tag":"New","href":"/api-reference/types/wallettradeflow"},{"title":"WalletTradesConnection","tag":"New","href":"/api-reference/types/wallettradesconnection"},{"title":"WashtradeLabelForEvent","href":"/api-reference/types/washtradelabelforevent"},{"title":"Webhook","href":"/api-reference/types/webhook"},{"title":"WindowedDetailedCurrencyPairStats","href":"/api-reference/types/windoweddetailedcurrencypairstats"},{"title":"WindowedDetailedCurrencyWalletStats","href":"/api-reference/types/windoweddetailedcurrencywalletstats"},{"title":"WindowedDetailedNonCurrencyPairStats","href":"/api-reference/types/windoweddetailednoncurrencypairstats"},{"title":"WindowedDetailedNonCurrencyWalletStats","href":"/api-reference/types/windoweddetailednoncurrencywalletstats"},{"title":"WindowedDetailedNonCurrencyWalletStatsYear","href":"/api-reference/types/windoweddetailednoncurrencywalletstatsyear"},{"title":"WindowedDetailedPairStats","href":"/api-reference/types/windoweddetailedpairstats"},{"title":"WindowedDetailedStats","href":"/api-reference/types/windoweddetailedstats"},{"title":"WindowedDetailedTokenStats","href":"/api-reference/types/windoweddetailedtokenstats"},{"title":"WindowedPredictionAllTimeStats","href":"/api-reference/types/windowedpredictionalltimestats"},{"title":"WindowedPredictionEventBuySellStats","href":"/api-reference/types/windowedpredictioneventbuysellstats"},{"title":"WindowedPredictionEventChangeStats","href":"/api-reference/types/windowedpredictioneventchangestats"},{"title":"WindowedPredictionEventCoreStats","href":"/api-reference/types/windowedpredictioneventcorestats"},{"title":"WindowedPredictionEventLiquidityStats","href":"/api-reference/types/windowedpredictioneventliquiditystats"},{"title":"WindowedPredictionEventOpenInterestStats","href":"/api-reference/types/windowedpredictioneventopenintereststats"},{"title":"WindowedPredictionEventUniqueTraderStats","href":"/api-reference/types/windowedpredictioneventuniquetraderstats"},{"title":"WindowedPredictionMarketChangeStats","href":"/api-reference/types/windowedpredictionmarketchangestats"},{"title":"WindowedPredictionMarketCoreStats","href":"/api-reference/types/windowedpredictionmarketcorestats"},{"title":"WindowedPredictionMarketLiquidityStats","href":"/api-reference/types/windowedpredictionmarketliquiditystats"},{"title":"WindowedPredictionMarketMetricsEventMarketCondition","href":"/api-reference/types/windowedpredictionmarketmetricseventmarketcondition"},{"title":"WindowedPredictionMarketMetricsEventOutcomeCondition","href":"/api-reference/types/windowedpredictionmarketmetricseventoutcomecondition"},{"title":"WindowedPredictionMarketOpenInterestStats","href":"/api-reference/types/windowedpredictionmarketopenintereststats"},{"title":"WindowedPredictionMarketUniqueTraderStats","href":"/api-reference/types/windowedpredictionmarketuniquetraderstats"},{"title":"WindowedPredictionOutcomeBuySellStats","href":"/api-reference/types/windowedpredictionoutcomebuysellstats"},{"title":"WindowedPredictionOutcomeChangeStats","href":"/api-reference/types/windowedpredictionoutcomechangestats"},{"title":"WindowedPredictionOutcomeCoreStats","href":"/api-reference/types/windowedpredictionoutcomecorestats"},{"title":"WindowedPredictionOutcomeDepthStats","href":"/api-reference/types/windowedpredictionoutcomedepthstats"},{"title":"WindowedPredictionOutcomeLiquidityStats","href":"/api-reference/types/windowedpredictionoutcomeliquiditystats"},{"title":"WindowedPredictionOutcomeOrderbookStats","href":"/api-reference/types/windowedpredictionoutcomeorderbookstats"},{"title":"WindowedPredictionTraderAllTimeStats","href":"/api-reference/types/windowedpredictiontraderalltimestats"},{"title":"WindowedPredictionTraderChangeStats","href":"/api-reference/types/windowedpredictiontraderchangestats"},{"title":"WindowedPredictionTraderCurrencyStats","href":"/api-reference/types/windowedpredictiontradercurrencystats"},{"title":"WindowedPredictionTraderNonCurrencyStats","href":"/api-reference/types/windowedpredictiontradernoncurrencystats"},{"title":"WindowedWalletStats","href":"/api-reference/types/windowedwalletstats"},{"title":"WindowedWalletStatsYear","href":"/api-reference/types/windowedwalletstatsyear"},{"title":"XStockTokenExtensions","tag":"New","href":"/api-reference/types/xstocktokenextensions"}]},{"group":"Enums","pages":[{"title":"AlertRecurrence","href":"/api-reference/enums/alertrecurrence"},{"title":"AnalysisVerdictEnum","href":"/api-reference/enums/analysisverdictenum"},{"title":"ApiUsageUnit","tag":"New","href":"/api-reference/enums/apiusageunit"},{"title":"BalancesSortAttribute","href":"/api-reference/enums/balancessortattribute"},{"title":"BarCommitmentLevel","href":"/api-reference/enums/barcommitmentlevel"},{"title":"BundlerService","tag":"New","href":"/api-reference/enums/bundlerservice"},{"title":"CategoryStatus","href":"/api-reference/enums/categorystatus"},{"title":"CategoryType","href":"/api-reference/enums/categorytype"},{"title":"ChartTheme","href":"/api-reference/enums/charttheme"},{"title":"CommunityNoteType","href":"/api-reference/enums/communitynotetype"},{"title":"ContractLabelSubType","href":"/api-reference/enums/contractlabelsubtype"},{"title":"ContractLabelType","href":"/api-reference/enums/contractlabeltype"},{"title":"ContractProposalStatus","href":"/api-reference/enums/contractproposalstatus"},{"title":"ContractType","href":"/api-reference/enums/contracttype"},{"title":"DetailedPairStatsDuration","href":"/api-reference/enums/detailedpairstatsduration"},{"title":"DetailedStatsWindowSize","href":"/api-reference/enums/detailedstatswindowsize"},{"title":"DetailedTokenStatsDuration","href":"/api-reference/enums/detailedtokenstatsduration"},{"title":"DomainType","tag":"New","href":"/api-reference/enums/domaintype"},{"title":"EventCommitmentLevel","href":"/api-reference/enums/eventcommitmentlevel"},{"title":"EventDisplayType","href":"/api-reference/enums/eventdisplaytype"},{"title":"EventLabelType","href":"/api-reference/enums/eventlabeltype"},{"title":"EventType","href":"/api-reference/enums/eventtype"},{"title":"ExchangeRankingAttribute","href":"/api-reference/enums/exchangerankingattribute"},{"title":"FeeAmountSource","tag":"New","href":"/api-reference/enums/feeamountsource"},{"title":"FeeKind","tag":"New","href":"/api-reference/enums/feekind"},{"title":"FeeLedgerGap","tag":"New","href":"/api-reference/enums/feeledgergap"},{"title":"FeeMode","tag":"New","href":"/api-reference/enums/feemode"},{"title":"FeeRecipientRole","tag":"New","href":"/api-reference/enums/feerecipientrole"},{"title":"FeeScope","tag":"New","href":"/api-reference/enums/feescope"},{"title":"FeeSettlement","tag":"New","href":"/api-reference/enums/feesettlement"},{"title":"GenericRoute","tag":"New","href":"/api-reference/enums/genericroute"},{"title":"HoldersSortAttribute","href":"/api-reference/enums/holderssortattribute"},{"title":"HoldersStatus","href":"/api-reference/enums/holdersstatus"},{"title":"LaunchpadFilterScope","href":"/api-reference/enums/launchpadfilterscope"},{"title":"LaunchpadRankingAttribute","href":"/api-reference/enums/launchpadrankingattribute"},{"title":"LaunchpadStatsPhase","href":"/api-reference/enums/launchpadstatsphase"},{"title":"LaunchpadTokenEventType","href":"/api-reference/enums/launchpadtokeneventtype"},{"title":"LaunchpadTokenProtocol","href":"/api-reference/enums/launchpadtokenprotocol"},{"title":"LiquidityLockProtocol","href":"/api-reference/enums/liquiditylockprotocol"},{"title":"NetworkBarsResolution","tag":"New","href":"/api-reference/enums/networkbarsresolution"},{"title":"NetworkConfigType","href":"/api-reference/enums/networkconfigtype"},{"title":"NetworkRankingAttribute","href":"/api-reference/enums/networkrankingattribute"},{"title":"PairRankingAttribute","href":"/api-reference/enums/pairrankingattribute"},{"title":"PoolSellStatus","tag":"New","href":"/api-reference/enums/poolsellstatus"},{"title":"PotentialScamReason","href":"/api-reference/enums/potentialscamreason"},{"title":"PredictionEventBarsResolution","href":"/api-reference/enums/predictioneventbarsresolution"},{"title":"PredictionEventMarketSort","href":"/api-reference/enums/predictioneventmarketsort"},{"title":"PredictionEventRankingAttribute","href":"/api-reference/enums/predictioneventrankingattribute"},{"title":"PredictionEventShape","href":"/api-reference/enums/predictioneventshape"},{"title":"PredictionEventStatus","href":"/api-reference/enums/predictioneventstatus"},{"title":"PredictionMarketBarsResolution","href":"/api-reference/enums/predictionmarketbarsresolution"},{"title":"PredictionMarketDateOperator","href":"/api-reference/enums/predictionmarketdateoperator"},{"title":"PredictionMarketEntrantKind","href":"/api-reference/enums/predictionmarketentrantkind"},{"title":"PredictionMarketLadderMetric","href":"/api-reference/enums/predictionmarketladdermetric"},{"title":"PredictionMarketLadderOperator","href":"/api-reference/enums/predictionmarketladderoperator"},{"title":"PredictionMarketRankingAttribute","href":"/api-reference/enums/predictionmarketrankingattribute"},{"title":"PredictionMarketRole","href":"/api-reference/enums/predictionmarketrole"},{"title":"PredictionMarketSegmentType","href":"/api-reference/enums/predictionmarketsegmenttype"},{"title":"PredictionMarketStatType","href":"/api-reference/enums/predictionmarketstattype"},{"title":"PredictionMetadataType","href":"/api-reference/enums/predictionmetadatatype"},{"title":"PredictionOutcomeIndex","href":"/api-reference/enums/predictionoutcomeindex"},{"title":"PredictionOutcomeRankingAttribute","href":"/api-reference/enums/predictionoutcomerankingattribute"},{"title":"PredictionProtocol","href":"/api-reference/enums/predictionprotocol"},{"title":"PredictionStatsDuration","href":"/api-reference/enums/predictionstatsduration"},{"title":"PredictionTradeEventType","href":"/api-reference/enums/predictiontradeeventtype"},{"title":"PredictionTraderBarsResolution","href":"/api-reference/enums/predictiontraderbarsresolution"},{"title":"PredictionTraderMarketPnlStatus","href":"/api-reference/enums/predictiontradermarketpnlstatus"},{"title":"PredictionTraderMarketRankingAttribute","href":"/api-reference/enums/predictiontradermarketrankingattribute"},{"title":"PredictionTraderRankingAttribute","href":"/api-reference/enums/predictiontraderrankingattribute"},{"title":"PredictionTraderStatsDuration","href":"/api-reference/enums/predictiontraderstatsduration"},{"title":"PredictionTradeType","href":"/api-reference/enums/predictiontradetype"},{"title":"PriceStatus","tag":"New","href":"/api-reference/enums/pricestatus"},{"title":"PublishingType","href":"/api-reference/enums/publishingtype"},{"title":"QuoteCurrency","href":"/api-reference/enums/quotecurrency"},{"title":"QuoteToken","href":"/api-reference/enums/quotetoken"},{"title":"RankingDirection","href":"/api-reference/enums/rankingdirection"},{"title":"RiskAnalysisCoverage","href":"/api-reference/enums/riskanalysiscoverage"},{"title":"RiskReasonCode","href":"/api-reference/enums/riskreasoncode"},{"title":"RiskVerdict","href":"/api-reference/enums/riskverdict"},{"title":"SandwichLabelForEventType","href":"/api-reference/enums/sandwichlabelforeventtype"},{"title":"SellRestrictionKind","tag":"New","href":"/api-reference/enums/sellrestrictionkind"},{"title":"SimulateTokenContractBuySellErrorEnum","href":"/api-reference/enums/simulatetokencontractbuysellerrorenum"},{"title":"SimulateTokenContractResultStatusEnum","href":"/api-reference/enums/simulatetokencontractresultstatusenum"},{"title":"SparklineAttribute","href":"/api-reference/enums/sparklineattribute"},{"title":"SportsSelectionKind","tag":"New","href":"/api-reference/enums/sportsselectionkind"},{"title":"SportsTimezone","href":"/api-reference/enums/sportstimezone"},{"title":"SymbolType","href":"/api-reference/enums/symboltype"},{"title":"TokenMediaType","tag":"New","href":"/api-reference/enums/tokenmediatype"},{"title":"TokenOfInterest","href":"/api-reference/enums/tokenofinterest"},{"title":"TokenPairEventType","href":"/api-reference/enums/tokenpaireventtype"},{"title":"TokenPairStatisticsType","href":"/api-reference/enums/tokenpairstatisticstype"},{"title":"TokenRankingAttribute","href":"/api-reference/enums/tokenrankingattribute"},{"title":"TokenSocialLink","tag":"New","href":"/api-reference/enums/tokensociallink"},{"title":"TokenTopTradersRankingAttribute","href":"/api-reference/enums/tokentoptradersrankingattribute"},{"title":"TokenTransferDirection","href":"/api-reference/enums/tokentransferdirection"},{"title":"TradingPeriod","href":"/api-reference/enums/tradingperiod"},{"title":"TwitterLinkType","tag":"New","href":"/api-reference/enums/twitterlinktype"},{"title":"UiAmountMode","href":"/api-reference/enums/uiamountmode"},{"title":"WalletAggregateBackfillState","href":"/api-reference/enums/walletaggregatebackfillstate"},{"title":"WalletCategory","href":"/api-reference/enums/walletcategory"},{"title":"WalletLabel","href":"/api-reference/enums/walletlabel"},{"title":"WalletRankingAttribute","href":"/api-reference/enums/walletrankingattribute"},{"title":"WalletTokenRankingAttribute","href":"/api-reference/enums/wallettokenrankingattribute"},{"title":"WalletTradeSide","tag":"New","href":"/api-reference/enums/wallettradeside"},{"title":"WalletTradeStatus","tag":"New","href":"/api-reference/enums/wallettradestatus"},{"title":"WalletTradeValuation","tag":"New","href":"/api-reference/enums/wallettradevaluation"},{"title":"WebhookType","href":"/api-reference/enums/webhooktype"}]},{"group":"Input Objects","pages":[{"title":"BalanceFilters","tag":"New","href":"/api-reference/input-objects/balancefilters"},{"title":"BalancesInput","href":"/api-reference/input-objects/balancesinput"},{"title":"BlocksInput","href":"/api-reference/input-objects/blocksinput"},{"title":"BucketKeyInput","href":"/api-reference/input-objects/bucketkeyinput"},{"title":"ChartImageOptions","href":"/api-reference/input-objects/chartimageoptions"},{"title":"ChartInput","href":"/api-reference/input-objects/chartinput"},{"title":"CommunityNotesFilter","href":"/api-reference/input-objects/communitynotesfilter"},{"title":"CommunityNotesInput","href":"/api-reference/input-objects/communitynotesinput"},{"title":"ComparisonOperatorInput","href":"/api-reference/input-objects/comparisonoperatorinput"},{"title":"CreateApiTokensInput","href":"/api-reference/input-objects/createapitokensinput"},{"title":"CreateMarketCapWebhookArgs","href":"/api-reference/input-objects/createmarketcapwebhookargs"},{"title":"CreateMarketCapWebhooksInput","href":"/api-reference/input-objects/createmarketcapwebhooksinput"},{"title":"CreatePredictionMarketMetricsEventWebhookArgs","href":"/api-reference/input-objects/createpredictionmarketmetricseventwebhookargs"},{"title":"CreatePredictionMarketMetricsEventWebhooksInput","href":"/api-reference/input-objects/createpredictionmarketmetricseventwebhooksinput"},{"title":"CreatePredictionTradeWebhookArgs","href":"/api-reference/input-objects/createpredictiontradewebhookargs"},{"title":"CreatePredictionTradeWebhooksInput","href":"/api-reference/input-objects/createpredictiontradewebhooksinput"},{"title":"CreatePriceWebhookArgs","href":"/api-reference/input-objects/createpricewebhookargs"},{"title":"CreatePriceWebhooksInput","href":"/api-reference/input-objects/createpricewebhooksinput"},{"title":"CreateRawTransactionWebhookArgs","href":"/api-reference/input-objects/createrawtransactionwebhookargs"},{"title":"CreateRawTransactionWebhooksInput","href":"/api-reference/input-objects/createrawtransactionwebhooksinput"},{"title":"CreateTokenLaunchEventWebhookArgs","href":"/api-reference/input-objects/createtokenlauncheventwebhookargs"},{"title":"CreateTokenLaunchEventWebhooksInput","href":"/api-reference/input-objects/createtokenlauncheventwebhooksinput"},{"title":"CreateTokenPairEventWebhookArgs","href":"/api-reference/input-objects/createtokenpaireventwebhookargs"},{"title":"CreateTokenPairEventWebhooksInput","href":"/api-reference/input-objects/createtokenpaireventwebhooksinput"},{"title":"CreateTokenPriceEventWebhookArgs","href":"/api-reference/input-objects/createtokenpriceeventwebhookargs"},{"title":"CreateTokenPriceEventWebhooksInput","href":"/api-reference/input-objects/createtokenpriceeventwebhooksinput"},{"title":"CreateTokenTransferEventWebhookArgs","href":"/api-reference/input-objects/createtokentransfereventwebhookargs"},{"title":"CreateTokenTransferEventWebhooksInput","href":"/api-reference/input-objects/createtokentransfereventwebhooksinput"},{"title":"CreateWebhooksInput","href":"/api-reference/input-objects/createwebhooksinput"},{"title":"DeleteWebhooksInput","href":"/api-reference/input-objects/deletewebhooksinput"},{"title":"DetailedPredictionEventStatsInput","href":"/api-reference/input-objects/detailedpredictioneventstatsinput"},{"title":"DetailedPredictionMarketStatsInput","href":"/api-reference/input-objects/detailedpredictionmarketstatsinput"},{"title":"DetailedPredictionTraderStatsInput","href":"/api-reference/input-objects/detailedpredictiontraderstatsinput"},{"title":"DetailedWalletStatsInput","href":"/api-reference/input-objects/detailedwalletstatsinput"},{"title":"EventQueryTimestampInput","href":"/api-reference/input-objects/eventquerytimestampinput"},{"title":"EventsQueryInput","href":"/api-reference/input-objects/eventsqueryinput"},{"title":"ExchangeFilters","href":"/api-reference/input-objects/exchangefilters"},{"title":"ExchangeRanking","href":"/api-reference/input-objects/exchangeranking"},{"title":"FilterTokenWalletsInput","href":"/api-reference/input-objects/filtertokenwalletsinput"},{"title":"FilterWalletsInput","href":"/api-reference/input-objects/filterwalletsinput"},{"title":"GetDetailedPairsStatsInput","href":"/api-reference/input-objects/getdetailedpairsstatsinput"},{"title":"GetPriceInput","href":"/api-reference/input-objects/getpriceinput"},{"title":"HoldersInput","href":"/api-reference/input-objects/holdersinput"},{"title":"HoldersInputSort","href":"/api-reference/input-objects/holdersinputsort"},{"title":"IntEqualsConditionInput","href":"/api-reference/input-objects/intequalsconditioninput"},{"title":"LaunchpadFilters","href":"/api-reference/input-objects/launchpadfilters"},{"title":"LaunchpadRanking","href":"/api-reference/input-objects/launchpadranking"},{"title":"LaunchpadStatsFilters","href":"/api-reference/input-objects/launchpadstatsfilters"},{"title":"MakerEventsQueryInput","href":"/api-reference/input-objects/makereventsqueryinput"},{"title":"MarketCapEventWebhookConditionInput","href":"/api-reference/input-objects/marketcapeventwebhookconditioninput"},{"title":"NetworkBarsInput","tag":"New","href":"/api-reference/input-objects/networkbarsinput"},{"title":"NetworkFilters","href":"/api-reference/input-objects/networkfilters"},{"title":"NetworkRanking","href":"/api-reference/input-objects/networkranking"},{"title":"NumberFilter","href":"/api-reference/input-objects/numberfilter"},{"title":"OneOfNumberConditionInput","href":"/api-reference/input-objects/oneofnumberconditioninput"},{"title":"OneOfStringConditionInput","href":"/api-reference/input-objects/oneofstringconditioninput"},{"title":"OneOfTokenTransferDirectionConditionInput","href":"/api-reference/input-objects/oneoftokentransferdirectionconditioninput"},{"title":"OnEventsCreatedByMakerInput","href":"/api-reference/input-objects/oneventscreatedbymakerinput"},{"title":"OnLaunchpadTokenEventBatchInput","href":"/api-reference/input-objects/onlaunchpadtokeneventbatchinput"},{"title":"OnLaunchpadTokenEventInput","href":"/api-reference/input-objects/onlaunchpadtokeneventinput"},{"title":"OnPredictionTradesCreatedInput","href":"/api-reference/input-objects/onpredictiontradescreatedinput"},{"title":"OnPricesUpdatedInput","href":"/api-reference/input-objects/onpricesupdatedinput"},{"title":"OnTokenEventsCreatedInput","href":"/api-reference/input-objects/ontokeneventscreatedinput"},{"title":"PairChartInput","href":"/api-reference/input-objects/pairchartinput"},{"title":"PairChartSettings","href":"/api-reference/input-objects/pairchartsettings"},{"title":"PairFilterMatchTokens","href":"/api-reference/input-objects/pairfiltermatchtokens"},{"title":"PairFilters","href":"/api-reference/input-objects/pairfilters"},{"title":"PairRanking","href":"/api-reference/input-objects/pairranking"},{"title":"PredictionEventBarsInput","href":"/api-reference/input-objects/predictioneventbarsinput"},{"title":"PredictionEventFilters","href":"/api-reference/input-objects/predictioneventfilters"},{"title":"PredictionEventRanking","href":"/api-reference/input-objects/predictioneventranking"},{"title":"PredictionEventTopMarketsBarsInput","href":"/api-reference/input-objects/predictioneventtopmarketsbarsinput"},{"title":"PredictionMarketBarsInput","href":"/api-reference/input-objects/predictionmarketbarsinput"},{"title":"PredictionMarketFilters","href":"/api-reference/input-objects/predictionmarketfilters"},{"title":"PredictionMarketMetricsEventMarketConditionInput","href":"/api-reference/input-objects/predictionmarketmetricseventmarketconditioninput"},{"title":"PredictionMarketMetricsEventOutcomeConditionInput","href":"/api-reference/input-objects/predictionmarketmetricseventoutcomeconditioninput"},{"title":"PredictionMarketMetricsEventWebhookConditionInput","href":"/api-reference/input-objects/predictionmarketmetricseventwebhookconditioninput"},{"title":"PredictionMarketPriceInput","href":"/api-reference/input-objects/predictionmarketpriceinput"},{"title":"PredictionMarketRanking","href":"/api-reference/input-objects/predictionmarketranking"},{"title":"PredictionMarketsInput","href":"/api-reference/input-objects/predictionmarketsinput"},{"title":"PredictionOutcomeFilters","href":"/api-reference/input-objects/predictionoutcomefilters"},{"title":"PredictionTokenHoldersInput","href":"/api-reference/input-objects/predictiontokenholdersinput"},{"title":"PredictionTradeEventTypeConditionInput","href":"/api-reference/input-objects/predictiontradeeventtypeconditioninput"},{"title":"PredictionTraderBarsInput","href":"/api-reference/input-objects/predictiontraderbarsinput"},{"title":"PredictionTraderFilters","href":"/api-reference/input-objects/predictiontraderfilters"},{"title":"PredictionTraderHoldingsInput","href":"/api-reference/input-objects/predictiontraderholdingsinput"},{"title":"PredictionTraderMarketFilters","href":"/api-reference/input-objects/predictiontradermarketfilters"},{"title":"PredictionTraderMarketRanking","href":"/api-reference/input-objects/predictiontradermarketranking"},{"title":"PredictionTraderMarketsStatsInput","href":"/api-reference/input-objects/predictiontradermarketsstatsinput"},{"title":"PredictionTraderRanking","href":"/api-reference/input-objects/predictiontraderranking"},{"title":"PredictionTradersInput","href":"/api-reference/input-objects/predictiontradersinput"},{"title":"PredictionTradesInput","href":"/api-reference/input-objects/predictiontradesinput"},{"title":"PredictionTradeWebhookConditionInput","href":"/api-reference/input-objects/predictiontradewebhookconditioninput"},{"title":"PriceEventWebhookConditionInput","href":"/api-reference/input-objects/priceeventwebhookconditioninput"},{"title":"RangeInput","href":"/api-reference/input-objects/rangeinput"},{"title":"RawTransactionWebhookConditionInput","href":"/api-reference/input-objects/rawtransactionwebhookconditioninput"},{"title":"RefreshBalancesInput","href":"/api-reference/input-objects/refreshbalancesinput"},{"title":"RetrySettingsInput","href":"/api-reference/input-objects/retrysettingsinput"},{"title":"SimulateCreateTransactionInput","href":"/api-reference/input-objects/simulatecreatetransactioninput"},{"title":"SimulateDeployInput","href":"/api-reference/input-objects/simulatedeployinput"},{"title":"SimulateLiveContractInput","href":"/api-reference/input-objects/simulatelivecontractinput"},{"title":"SimulateTokenContractInput","href":"/api-reference/input-objects/simulatetokencontractinput"},{"title":"StringContainsConditionInput","href":"/api-reference/input-objects/stringcontainsconditioninput"},{"title":"StringEqualsConditionInput","href":"/api-reference/input-objects/stringequalsconditioninput"},{"title":"StringFilter","href":"/api-reference/input-objects/stringfilter"},{"title":"TokenBoolFilter","href":"/api-reference/input-objects/tokenboolfilter"},{"title":"TokenCategoryFilter","href":"/api-reference/input-objects/tokencategoryfilter"},{"title":"TokenFilters","href":"/api-reference/input-objects/tokenfilters"},{"title":"TokenInput","href":"/api-reference/input-objects/tokeninput"},{"title":"TokenLaunchEventWebhookConditionInput","href":"/api-reference/input-objects/tokenlauncheventwebhookconditioninput"},{"title":"TokenMediaFilter","tag":"New","href":"/api-reference/input-objects/tokenmediafilter"},{"title":"TokenPairEventTypeConditionInput","href":"/api-reference/input-objects/tokenpaireventtypeconditioninput"},{"title":"TokenPairEventWebhookConditionInput","href":"/api-reference/input-objects/tokenpaireventwebhookconditioninput"},{"title":"TokenPriceEventWebhookConditionInput","href":"/api-reference/input-objects/tokenpriceeventwebhookconditioninput"},{"title":"TokenRanking","href":"/api-reference/input-objects/tokenranking"},{"title":"TokenSocialFilter","tag":"New","href":"/api-reference/input-objects/tokensocialfilter"},{"title":"TokenSparklineInput","href":"/api-reference/input-objects/tokensparklineinput"},{"title":"TokenTopTradersInput","href":"/api-reference/input-objects/tokentoptradersinput"},{"title":"TokenTopTradersRanking","href":"/api-reference/input-objects/tokentoptradersranking"},{"title":"TokenTransferEventWebhookConditionInput","href":"/api-reference/input-objects/tokentransfereventwebhookconditioninput"},{"title":"TokenTwitterFilter","tag":"New","href":"/api-reference/input-objects/tokentwitterfilter"},{"title":"TokenWalletStatsInput","href":"/api-reference/input-objects/tokenwalletstatsinput"},{"title":"WalletAggregateBackfillInput","href":"/api-reference/input-objects/walletaggregatebackfillinput"},{"title":"WalletAggregateBackfillStateInput","href":"/api-reference/input-objects/walletaggregatebackfillstateinput"},{"title":"WalletChartInput","href":"/api-reference/input-objects/walletchartinput"},{"title":"WalletFilters","href":"/api-reference/input-objects/walletfilters"},{"title":"WalletRanking","href":"/api-reference/input-objects/walletranking"},{"title":"WalletsInput","tag":"New","href":"/api-reference/input-objects/walletsinput"},{"title":"WalletTokenFilterRange","href":"/api-reference/input-objects/wallettokenfilterrange"},{"title":"WalletTokenFilters","href":"/api-reference/input-objects/wallettokenfilters"},{"title":"WalletTokenFiltersV2","href":"/api-reference/input-objects/wallettokenfiltersv2"},{"title":"WalletTokenRanking","href":"/api-reference/input-objects/wallettokenranking"},{"title":"WalletTradesInput","tag":"New","href":"/api-reference/input-objects/wallettradesinput"},{"title":"WindowedPredictionMarketMetricsEventMarketConditionInput","href":"/api-reference/input-objects/windowedpredictionmarketmetricseventmarketconditioninput"},{"title":"WindowedPredictionMarketMetricsEventOutcomeConditionInput","href":"/api-reference/input-objects/windowedpredictionmarketmetricseventoutcomeconditioninput"}]},{"group":"Unions and Interfaces","pages":[{"title":"EnhancedContract","href":"/api-reference/unions-and-interfaces/enhancedcontract"},{"title":"EventData","href":"/api-reference/unions-and-interfaces/eventdata"},{"title":"EventLabelData","href":"/api-reference/unions-and-interfaces/eventlabeldata"},{"title":"NetworkConfig","href":"/api-reference/unions-and-interfaces/networkconfig"},{"title":"ProtocolData","href":"/api-reference/unions-and-interfaces/protocoldata"},{"title":"SupplementalFeeData","href":"/api-reference/unions-and-interfaces/supplementalfeedata"},{"title":"WebhookCondition","href":"/api-reference/unions-and-interfaces/webhookcondition"}]}]}]},{"tab":"Supported Networks","pages":[{"title":"Supported Networks","href":"/networks"}]},{"tab":"Explore","pages":[{"title":"Explore","href":"/explore"}]},{"tab":"Roadmap","pages":[{"title":"Roadmap","href":"/roadmap"}]}]},"basePath":"","title":"FeeLedger - Codex","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":[],"chunks":[]}