Skip to main content
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 amountSource REPORTED, recipientRole HOST, settlement PAID_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.

Used By

Returned by
Last modified on December 2, 2026