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.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.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.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 amountSource REPORTED, recipientRole HOST, settlement PAID_OUT, null recipient and payer, and inTotalFees false.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.
Used By
Returned by- getTokenEvents: Returns transactions for a pair.
- getTokenEventsForMaker: Returns a list of token events for a given maker (wallet address).
- onEventsCreated: Live-streamed transactions for a pair.
- onEventsCreatedByMaker: Live-streamed transactions for a maker.
- onTokenEventsCreated: Live-streamed events for a given token across all it’s pools