> ## Documentation Index
> Fetch the complete documentation index at: https://docs.struct.to/llms.txt
> Use this file to discover all available pages before exploring further.

# Token audit and pool fees

> Read token security, transfer fees, pool buy/sell fees and temporary snipe-tax schedules.

The response examples populate every supported `audit_data` field to show the complete cross-chain shape. Actual responses include only applicable values. Boolean flags are included only when true; an omitted audit flag can be false or unknown. These field-complete examples illustrate the schema, not a single real token.

Pulse, Trending, Search, Token by address and Token liquidity pools share two optional objects:

| Object | Describes | WebSocket field |
| - | - | - |
| `audit_data` | The displayed token’s security properties and transfer fees | `ad`, with the same nested field names |
| `protocol_data` | Pool trading fees and protocol-specific details | `pd`, with the compact names below |

`address` identifies the token described by `audit_data`. Requesting another token in a pool changes the token audit accordingly. False and unknown audit flags are omitted. Numeric `0` remains meaningful; never interpret a missing audit flag as a completed safety check.

LP burn and lock percentages are in `lp_security`, returned by token by address, batch lookups, liquidity pools and Pulse / Trending rows (`ls` with short field names: burned, locked, permanent, claimable and free liquidity, plus the next unlock), and token by address and batch lookups return the token's `supply_locks` (`sl`). See [LP and token locks](https://docs.struct.to/guides/lp-and-token-locks.md) for those objects, the lock list endpoints and withdrawal history. Holder concentration belongs in `holders`.

## Response layout

This shortened example shows the two objects together:

```json theme={null}
{
  "audit_data": {
    "transfer_fee_authority": "HUkx6xdMbJWkDFFnsXg69iTE7R9AFc7h1CBYLHmE231R",
    "modifiable_tax": true,
    "freeze_authority": "HUkx6xdMbJWkDFFnsXg69iTE7R9AFc7h1CBYLHmE231R",
    "mint_authority": "HUkx6xdMbJWkDFFnsXg69iTE7R9AFc7h1CBYLHmE231R",
    "is_freezable": true,
    "no_mint_authority": true,
    "is_open_source": true,
    "is_honeypot": true,
    "is_renounced": true,
    "has_blacklist": true,
    "is_proxy": true,
    "is_mintable": true,
    "can_self_destruct": true,
    "transfer_pausable": true,
    "has_trading_cooldown": true,
    "can_take_back_ownership": true,
    "is_anti_whale": true,
    "anti_whale_modifiable": true,
    "slippage_modifiable": true,
    "personal_slippage_modifiable": true,
    "has_external_call": true,
    "has_hidden_owner": true,
    "honeypot_with_same_creator": true,
    "transfer_fee_percent": 0.5,
    "transfer_fee_maximum": 100.0,
    "transfer_fee_duration_seconds": 2592000
  },
  "protocol_data": {
    "buy_fee_percent": 1,
    "sell_fee_percent": 1,
    "is_dynamic": true
  }
}
```

## Token audit fields

All fields below are optional and depend on the token and available checks. A freeze authority’s presence indicates the capability to freeze token accounts; it does not mean a particular holder is frozen. Mint authority and transfer-fee authority are independent.

| Field | Meaning |
| - | - |
| `transfer_fee_authority` | Transfer fee authority. |
| `modifiable_tax` | A transfer-fee configuration authority exists, when known. |
| `freeze_authority` | Freeze authority. |
| `mint_authority` | Mint authority. |
| `is_freezable` | A freeze authority exists. This does not mean a particular token account is frozen. |
| `no_mint_authority` | The Solana mint has no mint authority. |
| `is_open_source` | Is open source. |
| `is_honeypot` | Is honeypot. |
| `is_renounced` | Is renounced. |
| `has_blacklist` | Has blacklist. |
| `is_proxy` | Is proxy. |
| `is_mintable` | Is mintable. |
| `can_self_destruct` | Can self-destruct. |
| `transfer_pausable` | Transfer pausable. |
| `has_trading_cooldown` | Has trading cooldown. |
| `can_take_back_ownership` | Can take back ownership. |
| `is_anti_whale` | Is anti whale. |
| `anti_whale_modifiable` | Anti whale modifiable. |
| `slippage_modifiable` | Slippage modifiable. |
| `personal_slippage_modifiable` | Personal slippage modifiable. |
| `has_external_call` | Has external call. |
| `has_hidden_owner` | Has hidden owner. |
| `honeypot_with_same_creator` | Honeypot with same creator. |
| `transfer_fee_percent` | Configured token transfer fee in percentage points: 2.5 means 2.5%. Separate from pool trading fees. |
| `transfer_fee_maximum` | Maximum transfer fee in whole token units, when a cap applies. |
| `transfer_fee_duration_seconds` | Configured duration of a temporary token transfer tax. Does not by itself identify the expiry time. |

Transfer fees are token charges, separate from pool trading fees. A rate of `2.5` means 2.5%. A transfer cap is expressed in whole token units. A temporary transfer-tax duration alone does not identify its expiry time. Use the trade quote for the fee applicable to the selected amount and route.

## EVM pool fees

Uniswap V2 and V3 pools report their pool trading rate through `buy_fee_percent` and `sell_fee_percent`. For example, a 0.3% pool reports `0.3` on both sides. Fee rates vary between factories and pools; a missing rate must not be interpreted as zero.

Four.meme can impose a minimum fee in the quote token. When `fee_requires_amount` is true, the percentage alone does not determine the final charge; use a quote for the intended trade amount.

Kuru additionally reports `maker_fee_percent` (`mkf`) and `taker_fee_percent` (`tkf`). Its buy/sell totals describe taker orders. A limit order that immediately executes can incur a taker fee.

Pools Instant reports its trading fee separately from its beneficiary position ID. Trench's optional caller-selected extra charges are not included in pool fee totals. Listing fees are one-time launch or migration charges, not additional swap fees.

Virtuals buy/sell rates include the applicable anti-sniper charge at the latest observation. These charges can decay differently on each side. Use a fresh trade quote when executing.

## Pool fee fields

`buy_fee_percent` and `sell_fee_percent` are the current pool fee rates, outside a separately reported temporary snipe schedule. `0` means a known zero fee. A `null` total means the rate is unknown or requires a trade amount. Do not add creator, LP, fund, platform or protocol components to a reported total again.

`is_dynamic: true` means the rate can change with time, trade amount or pool state; it does not make a known current rate unavailable. An omitted `is_dynamic` means a known fixed rate, and `null` means the model is unknown. `base_fee_percent` is the configured base, which may be only part of the current charge. `fee_requires_amount: true` identifies fees that need a trade amount to determine the applicable rate. Current percentages are not a guarantee of a future trade's effective cost: changes in pool state, the amount traded and rounding can affect execution.

When fees apply to both input and output, the reported total combines the rates as `input + output − input × output / 100`. It represents the fee before price impact and integer rounding, not an exact quote for a particular trade. The input/output components remain available for a breakdown. For example, 0.25% input plus 1% output gives a combined rate of 1.2475%. An omitted component is unknown; it is never assumed to be zero.

Pump AMM canonical SOL/USDC pools select market-cap tiers; noncanonical pools and canonical custom-quote pools select flat schedules. Fee components remain included in both cases.

Protocol flags such as `is_mayhem`, `is_offchain_create` and `holder_distribution_enabled` appear only inside `protocol_data` (`pd` in compact rows), never at the response root or on `token_a` / `token_b`. Pump and other protocols report holder rewards once, as `holder_distribution_enabled` (`hd`). `is_offchain_create` and `holder_distribution_enabled` are three-valued: `true`, `false` when known to be absent, and omitted when unknown (for example, a Pump.fun token whose create transaction was not observed). Pump cashback fields are no longer returned.

Only relevant protocol details appear. Token transfer taxes are not included in this object. Pool fees also exclude application charges and network costs.

| Field | WebSocket | Meaning |
| - | - | - |
| `maker_fee_percent` | `mkf` | Maker order fee, when applicable. |
| `taker_fee_percent` | `tkf` | Taker order fee, when applicable. |
| `buy_fee_percent` | `bfp` | Current buy trading fee, outside a separate temporary snipe schedule. Null means the rate is unknown or requires a trade amount. |
| `sell_fee_percent` | `sfp` | Current sell trading fee, outside a separate temporary snipe schedule. Null means the rate is unknown or requires a trade amount. |
| `is_dynamic` | `dy` | Whether fees can vary. Current numeric rates can still be available. `null` means unknown. |
| `base_fee_percent` | `bf` | Configured base rate; it may be only part of the current fee. |
| `fund_fee_percent` | `ff` | Fund fee component, already included in totals. |
| `fee_requires_amount` | `ra` | True when determining the fee needs the trade amount. |
| `buy_input_fee_percent` | `bi` | Buy fee on the input amount, when the buy fee is split or the total is unavailable. |
| `buy_output_fee_percent` | `bo` | Buy fee on the output amount, when the buy fee is split or the total is unavailable. |
| `sell_input_fee_percent` | `si` | Sell fee on the input amount, when the sell fee is split or the total is unavailable. |
| `sell_output_fee_percent` | `so` | Sell fee on the output amount, when the sell fee is split or the total is unavailable. |
| `snipe_tax` | `sn` | Snipe tax. |
| `beneficiary_position_id` | `bpi` | Beneficiary position id. |
| `buy_tax_percent` | `btx` | Buy tax percent. |
| `sell_tax_percent` | `stx` | Sell tax percent. |
| `protocol_config` | `pc` | Protocol config. |
| `creator` | `cr` | Creator. |
| `create_pool_fee` | `cpf` | Create pool fee. |
| `max_creator_trading_fee` | `mctf` | Max creator trading fee. |
| `creator_trading_fee_volume_threshold` | `mctv` | Creator trading fee volume threshold. |
| `sandwich_resistance_enabled` | `sr` | Sandwich resistance enabled. |
| `auto_staking_enabled` | `ast` | Auto staking enabled. |
| `protocol_fee_percent` | `pf` | Protocol fee percent. |
| `creator_fee_percent` | `cf` | Creator fee percent. |
| `creator_fees_enabled` | `cfe` | Creator fees enabled. |
| `fee_recipient` | `fr` | Fee recipient. |
| `lp_fee_percent` | `lpf` | Lp fee percent. |
| `is_mayhem` | `mh` | Mayhem mode is enabled. |
| `is_offchain_create` | `oc` | Pump.fun / Pump AMM: `true` when the token's create transaction had no dev buy, `false` when it had one; omitted when the create was not observed. |
| `fee_shares` | `fs` | Fee shares. |
| `github_linked` | `gl` | Github linked. |
| `github_user_id` | `gid` | Github user id. |
| `charity_linked` | `chl` | Charity linked. |
| `charity_id` | `cid` | Charity id. |
| `trade_fee_percent` | `tf` | Trade fee percent. |
| `creator_fee_share_percent` | `cfs` | Creator fee share percent. |
| `protocol_fee_share_percent` | `pfsh` | Protocol fee share percent. |
| `max_extra_fee_percent` | `mef` | Max extra fee percent. |
| `listing_fee_percent` | `lf` | Listing fee percent. |
| `v4_hook_fee_percent` | `vhf` | V4 hook fee percent. |
| `v4_hook_dev_share_percent` | `vhd` | V4 hook dev share percent. |
| `creator_tax_percent` | `ctx` | Creator tax percent. |
| `protocol_fee_buy_percent` | `pfb` | Protocol fee buy percent. |
| `protocol_fee_sell_percent` | `pfs` | Protocol fee sell percent. |
| `holder_distribution_enabled` | `hd` | Holder fee distribution, including Pump holder rewards: `true` when enabled, `false` when known disabled; omitted when unknown. |
| `config` | `cfg` | Config. |
| `leftover_receiver` | `lr` | Leftover receiver. |
| `creator_migration_fee_percent` | `cmf` | Creator migration fee percent. |
| `migration_fee_percent` | `mf` | Migration fee percent. |
| `migration_quote_threshold` | `mqt` | Migration quote threshold. |
| `collect_fee_mode` | `cfm` | Collect fee mode. |
| `platform_config` | `pct` | Platform config. |
| `platform_fee_percent` | `plf` | Platform fee percent. |
| `curve_type` | `ct` | Curve type. |
| `migrate_type` | `mt` | Migrate type. |
| `amm_creator_fee_on` | `acf` | Amm creator fee on. |

## Temporary snipe tax

`snipe_tax` (`pd.sn` in compact rows) identifies the schedule explicitly. Do not infer its trade side or calculation mode from a protocol name.

| HTTP field | WebSocket | Meaning |
| - | - | - |
| `initial_tax_percent` | `i` | Starting scheduled rate, in percentage points. |
| `final_tax_percent` | `f` | Ending scheduled rate, in percentage points. |
| `duration_seconds` | `d` | Schedule duration in seconds. |
| `started_at` | `s` | Start time, Unix seconds. |
| `decay` | `k` | `linear`, `exponential` or `quadratic`. |
| `applies_to` | `a` | `buy`, `sell` or `both`. |
| `mode` | `m` | `add`: add the scheduled rate to the normal fee. `replace`: use the scheduled rate instead of the normal fee. |

Timing or rate fields may be unknown. Show an unavailable schedule rather than inventing a start time or rate. A quote remains the source for the fee on a specific trade.

```json theme={null}
{
  "buy_fee_percent": 1.3,
  "sell_fee_percent": 1.4,
  "is_dynamic": true,
  "snipe_tax": {
    "initial_tax_percent": 15,
    "final_tax_percent": 1,
    "duration_seconds": 300,
    "started_at": 1790157600,
    "decay": "linear",
    "applies_to": "buy",
    "mode": "add"
  }
}
```

## WebSocket layout

The token audit field names stay unchanged inside `ad`. Pool fee fields use their compact names:

```json theme={null}
{
  "ad": {
    "transfer_fee_authority": "HUkx6xdMbJWkDFFnsXg69iTE7R9AFc7h1CBYLHmE231R",
    "modifiable_tax": true,
    "freeze_authority": "HUkx6xdMbJWkDFFnsXg69iTE7R9AFc7h1CBYLHmE231R",
    "mint_authority": "HUkx6xdMbJWkDFFnsXg69iTE7R9AFc7h1CBYLHmE231R",
    "is_freezable": true,
    "no_mint_authority": true,
    "is_open_source": true,
    "is_honeypot": true,
    "is_renounced": true,
    "has_blacklist": true,
    "is_proxy": true,
    "is_mintable": true,
    "can_self_destruct": true,
    "transfer_pausable": true,
    "has_trading_cooldown": true,
    "can_take_back_ownership": true,
    "is_anti_whale": true,
    "anti_whale_modifiable": true,
    "slippage_modifiable": true,
    "personal_slippage_modifiable": true,
    "has_external_call": true,
    "has_hidden_owner": true,
    "honeypot_with_same_creator": true,
    "transfer_fee_percent": 0.5,
    "transfer_fee_maximum": 100.0,
    "transfer_fee_duration_seconds": 2592000
  },
  "pd": {
    "bfp": 1,
    "sfp": 1,
    "dy": true
  },
  "lb": 90,
  "ll": 10
}
```

Apply complete rows as replacements and apply versioned field changes as described in [Pulse and Trending](https://docs.struct.to/guides/pulse-and-trending.md). Removing an audit flag clears a previously displayed true flag; the omitted value can be false or unknown.

## Current rates and separate input/output fees

A changing rate can still be shown numerically:

```json theme={null}
{
  "buy_fee_percent": 0.42,
  "sell_fee_percent": 0.42,
  "base_fee_percent": 0.3,
  "is_dynamic": true
}
```

If both token amounts carry a charge, preserve each percentage and its basis:

```json theme={null}
{
  "buy_fee_percent": 0.699,
  "sell_fee_percent": 0.7,
  "buy_input_fee_percent": 0.2,
  "buy_output_fee_percent": 0.5
}
```

Display the combined buy rate as 0.699%, optionally showing the input/output breakdown. A quote determines the exact token amounts charged for a particular trade.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.