{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/metastreams/json-schema/metastreams-ui-asset-search-hit-schema.json",
  "title": "UiAssetSearchHit",
  "description": "One search hit. `GET /v1/search` answers an array of them. Tokens keep the order of\n`sortBy`, or of relevance when it is absent.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/metastreams-openapi.json#/components/schemas/UiAssetSearchHit",
  "oneOf": [
    {
      "allOf": [
        {
          "$ref": "#/$defs/UiSpotToken",
          "description": "A spot token: the object `GET /v1/tokens` answers."
        },
        {
          "type": "object",
          "required": [
            "kind"
          ],
          "properties": {
            "kind": {
              "type": "string",
              "description": "Which asset kind this hit is.",
              "enum": [
                "spotToken"
              ]
            }
          }
        }
      ],
      "description": "A spot token: the object `GET /v1/tokens` answers."
    },
    {
      "allOf": [
        {
          "$ref": "#/$defs/UiSpotSearchWallet",
          "description": "A wallet."
        },
        {
          "type": "object",
          "required": [
            "kind"
          ],
          "properties": {
            "kind": {
              "type": "string",
              "description": "Which asset kind this hit is.",
              "enum": [
                "spotWallet"
              ]
            }
          }
        }
      ],
      "description": "A wallet."
    }
  ],
  "$defs": {
    "Decimal": {
      "type": "string",
      "format": "decimal",
      "description": "An exact decimal, as a string."
    },
    "FundingSourceKind": {
      "type": "string",
      "description": "Whether a known exchange or another wallet funded the creator.",
      "enum": [
        "cex",
        "wallet"
      ]
    },
    "FundingStatus": {
      "type": "string",
      "description": "Whether the creator wallet's funding lookup has settled.",
      "enum": [
        "unresolved",
        "resolved"
      ]
    },
    "IdentitySource": {
      "type": "string",
      "description": "Who resolved a trader's identity. The set grows; keep a value you do not recognize.",
      "enum": [
        "codex",
        "fomo",
        "pump",
        "gmgn",
        "axiom",
        "arkham",
        "unknown"
      ]
    },
    "SpotChain": {
      "type": "string",
      "description": "Chain slug. One spelling per chain, in paths and bodies alike. Only a chain with spot data is published.",
      "enum": [
        "solana",
        "bsc",
        "robinhood",
        "elysium",
        "ethereum",
        "base"
      ]
    },
    "TokenAnnotation": {
      "oneOf": [
        {
          "type": "object",
          "required": [
            "kind"
          ],
          "properties": {
            "kind": {
              "type": "string",
              "description": "Which annotation this is.",
              "enum": [
                "mayhem_mode"
              ]
            }
          }
        },
        {
          "type": "object",
          "required": [
            "kind"
          ],
          "properties": {
            "kind": {
              "type": "string",
              "description": "Which annotation this is.",
              "enum": [
                "cashback_coin"
              ]
            }
          }
        },
        {
          "type": "object",
          "required": [
            "kind"
          ],
          "properties": {
            "kind": {
              "type": "string",
              "description": "Which annotation this is.",
              "enum": [
                "anchor"
              ]
            }
          }
        },
        {
          "type": "object",
          "required": [
            "kind"
          ],
          "properties": {
            "kind": {
              "type": "string",
              "description": "Which annotation this is.",
              "enum": [
                "x_mode"
              ]
            }
          }
        },
        {
          "type": "object",
          "required": [
            "kind"
          ],
          "properties": {
            "kind": {
              "type": "string",
              "description": "Which annotation this is.",
              "enum": [
                "tax_token"
              ]
            }
          }
        },
        {
          "type": "object",
          "required": [
            "kind"
          ],
          "properties": {
            "kind": {
              "type": "string",
              "description": "Which annotation this is.",
              "enum": [
                "stock_quote"
              ]
            }
          }
        },
        {
          "type": "object",
          "required": [
            "kind"
          ],
          "properties": {
            "kind": {
              "type": "string",
              "description": "Which annotation this is.",
              "enum": [
                "stock_dividend"
              ]
            }
          }
        },
        {
          "type": "object",
          "required": [
            "kind"
          ],
          "properties": {
            "kind": {
              "type": "string",
              "description": "Which annotation this is.",
              "enum": [
                "ai_vault"
              ]
            }
          }
        },
        {
          "type": "object",
          "required": [
            "kind"
          ],
          "properties": {
            "kind": {
              "type": "string",
              "description": "Which annotation this is.",
              "enum": [
                "tax_vault"
              ]
            }
          }
        }
      ],
      "description": "A platform-scoped flag the launch carried, tagged by `kind`."
    },
    "UiDevFunding": {
      "type": "object",
      "description": "The creator wallet's first inbound funding.\n\n`status` separates a lookup still in flight from one that settled on a wallet with no\nfunder to name. Every other field is `null` in both cases.",
      "required": [
        "status"
      ],
      "properties": {
        "address": {
          "type": [
            "string",
            "null"
          ],
          "description": "Funder wallet or exchange address."
        },
        "amount": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/Decimal",
              "description": "Amount the first funding moved, in the chain's native asset."
            }
          ],
          "description": "Amount the first funding moved, in the chain's native asset."
        },
        "fundedAt": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/UnixMilliseconds",
              "description": "When the first funding executed."
            }
          ],
          "description": "When the first funding executed."
        },
        "sourceKind": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/FundingSourceKind",
              "description": "What the funder is (exchange, bridge, wallet, …)."
            }
          ],
          "description": "What the funder is (exchange, bridge, wallet, …)."
        },
        "sourceLabel": {
          "type": [
            "string",
            "null"
          ],
          "description": "Display label for the funder, e.g. an exchange name."
        },
        "status": {
          "$ref": "#/$defs/FundingStatus",
          "description": "Whether the lookup has settled."
        }
      }
    },
    "UiFeeAsset": {
      "type": "object",
      "description": "An asset a fee is charged or paid in.",
      "required": [
        "address"
      ],
      "properties": {
        "address": {
          "type": "string",
          "description": "The asset's contract address."
        },
        "symbol": {
          "type": [
            "string",
            "null"
          ],
          "description": "Its display symbol; `null` where none is known."
        }
      }
    },
    "UiMoney": {
      "type": "object",
      "description": "A chain-denominated value with its USD equivalent. The enclosing object carries the\n`chain` that names `native`'s unit.",
      "required": [
        "native"
      ],
      "properties": {
        "native": {
          "$ref": "#/$defs/Decimal",
          "description": "Value in the owning chain's gas asset."
        },
        "usd": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/Decimal",
              "description": "Value in USD; `null` when the native asset is unpriced."
            }
          ],
          "description": "Value in USD; `null` when the native asset is unpriced."
        }
      }
    },
    "UiPlatform": {
      "oneOf": [
        {
          "type": "object",
          "description": "fomo.family, the terminal that routed the trade. The trader's profile is the `fomo`\nelement of `identities`.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "fomo"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "A token's DexScreener listing; present only while its profile is paid.",
          "required": [
            "isPaid",
            "platform"
          ],
          "properties": {
            "isPaid": {
              "type": "boolean",
              "description": "Whether the token's DexScreener profile is paid."
            },
            "paidAt": {
              "oneOf": [
                {
                  "type": "null"
                },
                {
                  "$ref": "#/$defs/UnixMilliseconds",
                  "description": "Earliest profile payment time."
                }
              ],
              "description": "Earliest profile payment time."
            },
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "dexScreener"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "Axiom.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "axiom"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "\"Banana Gun\".",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "bananaGun"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "Bloom.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "bloom"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "\"BONKbot\".",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "bonkbot"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "BtcTurk.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "btcTurk"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "BullX.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "bullX"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "Click.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "click"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "\"GMGN\".",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "gmgn"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "\"Lucky Block\".",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "luckyBlock"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "Maestro.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "maestro"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "\"Manifold Trading\".",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "manifoldTrading"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "\"MEVX\".",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "mevx"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "Mintech.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "mintech"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "Nighthawk.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "nighthawk"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "Nova.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "nova"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "\"OX.FUN\".",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "oxFun"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "Padre.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "padre"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "PepeBoost.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "pepeBoost"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "Phantom.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "phantom"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "Photon.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "photon"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "SexBotSolana.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "sexBotSolana"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "Shuriken.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "shuriken"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "\"SOL Sniper Bot\".",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "solSniperBot"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "\"Sol Trading Bot\".",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "solTradingBot"
              ]
            }
          }
        },
        {
          "type": "object",
          "description": "Trojan.",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "type": "string",
              "description": "Which platform this is.",
              "enum": [
                "trojan"
              ]
            }
          }
        }
      ],
      "description": "A platform attached to a token, a wallet, or a trade.\n\nThe fieldless variants are trading terminals, each described by its display name."
    },
    "UiPoolQuote": {
      "type": "object",
      "description": "The asset a pool quotes its token in.",
      "required": [
        "address"
      ],
      "properties": {
        "address": {
          "type": "string",
          "description": "Quote asset's address."
        },
        "symbol": {
          "type": [
            "string",
            "null"
          ],
          "description": "Quote asset's display symbol; `null` where none is known."
        }
      }
    },
    "UiSpotPulseToken": {
      "type": "object",
      "description": "A token's market state, without its decimals and supply. A discovery column serves it.",
      "required": [
        "chain",
        "address",
        "name",
        "symbol",
        "logo",
        "creator",
        "devFunding",
        "createdAt",
        "dexes",
        "price",
        "marketCap",
        "liquidity",
        "ath",
        "stats",
        "totals",
        "holders",
        "security",
        "metadata",
        "updatedAt"
      ],
      "properties": {
        "address": {
          "type": "string",
          "description": "Token address."
        },
        "anchorAddress": {
          "type": [
            "string",
            "null"
          ],
          "description": "Address of the quote asset in the token's deepest pool; `null` where it is not known."
        },
        "anchorSymbol": {
          "type": [
            "string",
            "null"
          ],
          "description": "Display symbol of that quote asset, on `anchorAddress`'s terms."
        },
        "annotations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TokenAnnotation"
          },
          "description": "Platform-scoped quirk flags the launch carried."
        },
        "ath": {
          "$ref": "#/$defs/UiTokenAth",
          "description": "All-time-high price and market cap."
        },
        "bondingCurvePct": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/Decimal",
              "description": "Bonding-curve completion, 0-100; `null` off launchpad curves."
            }
          ],
          "description": "Bonding-curve completion, 0-100; `null` off launchpad curves."
        },
        "chain": {
          "$ref": "#/$defs/SpotChain",
          "description": "Chain the token trades on."
        },
        "createdAt": {
          "$ref": "#/$defs/UnixMilliseconds",
          "description": "Creation timestamp."
        },
        "creator": {
          "type": "string",
          "description": "Creator address."
        },
        "devFunding": {
          "$ref": "#/$defs/UiDevFunding",
          "description": "The creator wallet's first inbound funding. Always present; its status says whether the\nlookup has settled."
        },
        "dexes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Venues the token's top pools trade on, deepest first."
        },
        "fees": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/UiTokenTradeFees",
              "description": "What a trade costs here and where the tax goes; absent where no source states either."
            }
          ],
          "description": "What a trade costs here and where the tax goes; absent where no source states either."
        },
        "graduatedAt": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/UnixMilliseconds",
              "description": "When the token graduated off its launchpad; `null` until graduation."
            }
          ],
          "description": "When the token graduated off its launchpad; `null` until graduation."
        },
        "graduatedToDex": {
          "type": [
            "string",
            "null"
          ],
          "description": "Venue the graduation pool trades on; `null` until graduation."
        },
        "graduatedToPool": {
          "type": [
            "string",
            "null"
          ],
          "description": "Pool the launchpad pool migrated into; `null` until graduation."
        },
        "holders": {
          "$ref": "#/$defs/UiTokenHolders",
          "description": "Holder-risk breakdown."
        },
        "launchpad": {
          "type": [
            "string",
            "null"
          ],
          "description": "Launchpad the token launched through; `null` for non-launchpad tokens."
        },
        "liquidity": {
          "$ref": "#/$defs/UiMoney",
          "description": "Current liquidity."
        },
        "logo": {
          "$ref": "#/$defs/UiTokenLogo",
          "description": "Token artwork on the CDN."
        },
        "marketCap": {
          "$ref": "#/$defs/UiMoney",
          "description": "Current market cap."
        },
        "metadata": {
          "$ref": "#/$defs/UiTokenMetadata",
          "description": "Off-chain project metadata."
        },
        "name": {
          "type": "string",
          "description": "Token name."
        },
        "platforms": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UiPlatform"
          },
          "description": "The token's external-platform listings."
        },
        "pools": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UiTokenPool"
          },
          "description": "The token's top pools by liquidity, deepest first."
        },
        "price": {
          "$ref": "#/$defs/UiMoney",
          "description": "Current price."
        },
        "security": {
          "$ref": "#/$defs/UiTokenSecurity",
          "description": "On-chain security flags."
        },
        "stats": {
          "$ref": "#/$defs/UiTokenStats",
          "description": "Trailing-window stats, one key per rolling window."
        },
        "symbol": {
          "type": "string",
          "description": "Token symbol."
        },
        "totals": {
          "$ref": "#/$defs/UiTokenTotals",
          "description": "All-time volume and fee totals."
        },
        "updatedAt": {
          "$ref": "#/$defs/UnixMilliseconds",
          "description": "Last update timestamp."
        }
      }
    },
    "UiSpotSearchWallet": {
      "type": "object",
      "description": "One wallet hit — the same identity a holders row carries.",
      "required": [
        "chain",
        "address",
        "identities"
      ],
      "properties": {
        "address": {
          "type": "string",
          "description": "Wallet address on `chain`."
        },
        "chain": {
          "$ref": "#/$defs/SpotChain",
          "description": "Chain the wallet lives on."
        },
        "identities": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UiWalletIdentity"
          },
          "description": "Who the wallet is, one entry per source that named it; empty when no source did."
        }
      }
    },
    "UiSpotToken": {
      "allOf": [
        {
          "$ref": "#/$defs/UiSpotPulseToken",
          "description": "The token's market state."
        },
        {
          "type": "object",
          "required": [
            "decimals",
            "supply"
          ],
          "properties": {
            "decimals": {
              "type": "integer",
              "format": "int32",
              "description": "Token decimals.",
              "minimum": 0
            },
            "supply": {
              "$ref": "#/$defs/Decimal",
              "description": "Total supply."
            }
          }
        }
      ],
      "description": "One token: its market state, decimals and supply. `GET /v1/tokens` answers an array of them."
    },
    "UiTokenAth": {
      "type": "object",
      "description": "All-time-high price and market cap, each with the timestamp it was set.",
      "required": [
        "price",
        "priceAt",
        "marketCap",
        "marketCapAt"
      ],
      "properties": {
        "marketCap": {
          "$ref": "#/$defs/UiMoney",
          "description": "All-time-high market cap."
        },
        "marketCapAt": {
          "$ref": "#/$defs/UnixMilliseconds",
          "description": "When the all-time-high market cap was set."
        },
        "price": {
          "$ref": "#/$defs/UiMoney",
          "description": "All-time-high price."
        },
        "priceAt": {
          "$ref": "#/$defs/UnixMilliseconds",
          "description": "When the all-time-high price was set."
        }
      }
    },
    "UiTokenFeeAllocation": {
      "type": "object",
      "description": "Where a token's tax goes, and to whom.",
      "required": [
        "kind"
      ],
      "properties": {
        "kind": {
          "$ref": "#/$defs/UiTokenFeeAllocationKind",
          "description": "What the recipients are."
        },
        "recipients": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UiTokenFeeRecipient"
          },
          "description": "Who is paid, and what share each takes."
        }
      }
    },
    "UiTokenFeeAllocationKind": {
      "type": "string",
      "description": "What a venue does with the tax it takes.",
      "enum": [
        "holders_dividend",
        "creator",
        "custom_wallet",
        "staking",
        "lottery",
        "buyback",
        "protocol",
        "none"
      ]
    },
    "UiTokenFeeComponent": {
      "type": "object",
      "description": "One layer of a total: who charges it, and what each side pays.",
      "required": [
        "kind"
      ],
      "properties": {
        "asset": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/UiFeeAsset",
              "description": "The asset the layer is charged in, where it is not the traded token."
            }
          ],
          "description": "The asset the layer is charged in, where it is not the traded token."
        },
        "buyBps": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "Taken from a buy, in basis points. A layer that varies states its floor here.",
          "minimum": 0
        },
        "buyBpsMax": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "The most a varying buy layer takes. A fixed layer leaves this unset.",
          "minimum": 0
        },
        "kind": {
          "$ref": "#/$defs/UiTokenFeeKind",
          "description": "Which layer this is."
        },
        "sellBps": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "Taken from a sell, in basis points. A layer that varies states its floor here.",
          "minimum": 0
        },
        "sellBpsMax": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "The most a varying sell layer takes. A fixed layer leaves this unset.",
          "minimum": 0
        }
      }
    },
    "UiTokenFeeKind": {
      "type": "string",
      "description": "The layers a venue can charge.",
      "enum": [
        "protocol_fee",
        "creator_tax",
        "quote_token_fee",
        "pool_fee",
        "dex_protocol_fee",
        "hook_fee",
        "snipe_tax",
        "transfer_fee",
        "creator_fee",
        "holder_fee"
      ]
    },
    "UiTokenFeeRecipient": {
      "type": "object",
      "description": "One party a token's tax is paid to.",
      "properties": {
        "address": {
          "type": [
            "string",
            "null"
          ],
          "description": "The address paid. Absent where the venue names a payout without naming who holds it."
        },
        "payoutAsset": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/UiFeeAsset",
              "description": "The asset this recipient is paid in."
            }
          ],
          "description": "The asset this recipient is paid in."
        },
        "shareBps": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "This recipient's share of the tax, in basis points; `10000` is all of it.",
          "minimum": 0
        }
      }
    },
    "UiTokenFeeRewards": {
      "type": "object",
      "description": "What a wallet holds to qualify for a payout.",
      "required": [
        "minHolding"
      ],
      "properties": {
        "minHolding": {
          "$ref": "#/$defs/Decimal",
          "description": "The qualifying balance, in whole tokens of the taxed token."
        },
        "minHoldingUsd": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/Decimal",
              "description": "That balance at the token's current price. `null` until the token prices."
            }
          ],
          "description": "That balance at the token's current price. `null` until the token prices."
        }
      }
    },
    "UiTokenFees": {
      "type": "object",
      "description": "All-time fee totals by kind.",
      "required": [
        "transaction",
        "validator",
        "platform"
      ],
      "properties": {
        "dex": {
          "$ref": "#/$defs/UiMoney",
          "description": "Venue fees: what traders paid the pools and launchpads."
        },
        "platform": {
          "$ref": "#/$defs/UiMoney",
          "description": "Platform fees."
        },
        "transaction": {
          "$ref": "#/$defs/UiMoney",
          "description": "Transaction fees. On some older Solana trades, this also holds the venue fee."
        },
        "validator": {
          "$ref": "#/$defs/UiMoney",
          "description": "Validator fees."
        }
      }
    },
    "UiTokenHolders": {
      "type": "object",
      "description": "Holder-risk breakdown. Every `*Pct` field is a percent.",
      "required": [
        "count",
        "top10Pct",
        "devPct",
        "sniperPct",
        "sniperCount",
        "bundlerPct",
        "bundlerCount",
        "insiderPct",
        "insiderCount",
        "phishingPct",
        "phishingCount",
        "freshWalletPct",
        "freshWalletCount",
        "fomoPct",
        "fomoCount",
        "proTraderPct",
        "proTraderCount",
        "fundedByCexPct"
      ],
      "properties": {
        "bundlerCount": {
          "type": "integer",
          "format": "int64",
          "description": "Bundler wallet count.",
          "minimum": 0
        },
        "bundlerPct": {
          "$ref": "#/$defs/Decimal",
          "description": "Bundler wallets' share of supply."
        },
        "count": {
          "type": "integer",
          "format": "int64",
          "description": "Current holder count.",
          "minimum": 0
        },
        "devPct": {
          "$ref": "#/$defs/Decimal",
          "description": "Dev wallet's share of supply."
        },
        "fomoCount": {
          "type": "integer",
          "format": "int64",
          "description": "fomo.family wallet count.",
          "minimum": 0
        },
        "fomoPct": {
          "$ref": "#/$defs/Decimal",
          "description": "fomo.family wallets' share of supply."
        },
        "freshWalletCount": {
          "type": "integer",
          "format": "int64",
          "description": "Fresh wallet count.",
          "minimum": 0
        },
        "freshWalletPct": {
          "$ref": "#/$defs/Decimal",
          "description": "Fresh-wallet share of supply."
        },
        "fundedByCexPct": {
          "$ref": "#/$defs/Decimal",
          "description": "Share of current holders a known exchange funded, 0-100. Counted against every holder,\nso a token with funding lookups still in flight reads low rather than absent."
        },
        "insiderCount": {
          "type": "integer",
          "format": "int64",
          "description": "Insider wallet count.",
          "minimum": 0
        },
        "insiderPct": {
          "$ref": "#/$defs/Decimal",
          "description": "Insider wallets' share of supply."
        },
        "phishingCount": {
          "type": "integer",
          "format": "int64",
          "description": "Wallets that ever traded this token while carrying a malicious-actor label. The count\nnever falls, unlike `phishingPct`.",
          "minimum": 0
        },
        "phishingPct": {
          "$ref": "#/$defs/Decimal",
          "description": "Phishing wallets' share of supply."
        },
        "proTraderCount": {
          "type": "integer",
          "format": "int64",
          "description": "Pro-trader wallet count.",
          "minimum": 0
        },
        "proTraderPct": {
          "$ref": "#/$defs/Decimal",
          "description": "Pro-trader wallets' share of supply."
        },
        "sniperCount": {
          "type": "integer",
          "format": "int64",
          "description": "Sniper wallet count.",
          "minimum": 0
        },
        "sniperPct": {
          "$ref": "#/$defs/Decimal",
          "description": "Sniper wallets' share of supply."
        },
        "top10Pct": {
          "$ref": "#/$defs/Decimal",
          "description": "Share of supply held by the top 10 current holders."
        }
      }
    },
    "UiTokenLogo": {
      "type": "object",
      "description": "A token's artwork on the CDN, one URL per size. Each answers 404 while the CDN holds no\nartwork for the token.",
      "required": [
        "small",
        "medium",
        "large"
      ],
      "properties": {
        "large": {
          "type": "string",
          "description": "The artwork at full size."
        },
        "medium": {
          "type": "string",
          "description": "60×60 pixels, for list rows."
        },
        "small": {
          "type": "string",
          "description": "16×16 pixels, for inline icons."
        }
      }
    },
    "UiTokenMetadata": {
      "type": "object",
      "description": "Off-chain project metadata; every field nullable.",
      "required": [
        "twitterReuseCount"
      ],
      "properties": {
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Project description."
        },
        "discord": {
          "type": [
            "string",
            "null"
          ],
          "description": "Project Discord invite URL."
        },
        "telegram": {
          "type": [
            "string",
            "null"
          ],
          "description": "Project Telegram handle or URL."
        },
        "twitter": {
          "type": [
            "string",
            "null"
          ],
          "description": "Project Twitter/X handle or URL."
        },
        "twitterReuseCount": {
          "type": "integer",
          "format": "int64",
          "description": "How many other tokens have claimed the same Twitter/X account; above zero, the handle\nis recycled. Not yet counted, so always `0`.",
          "minimum": 0
        },
        "website": {
          "type": [
            "string",
            "null"
          ],
          "description": "Project website."
        }
      }
    },
    "UiTokenPool": {
      "type": "object",
      "description": "One of a token's top pools.",
      "required": [
        "pool",
        "dex",
        "liquidity"
      ],
      "properties": {
        "dex": {
          "type": "string",
          "description": "Venue the pool trades on."
        },
        "liquidity": {
          "$ref": "#/$defs/UiMoney",
          "description": "Pool liquidity."
        },
        "pool": {
          "type": "string",
          "description": "Pool address; the `pool` parameter of the candles endpoint."
        },
        "quote": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/UiPoolQuote",
              "description": "The asset the pool quotes the token in; `null` until a swap names it."
            }
          ],
          "description": "The asset the pool quotes the token in; `null` until a swap names it."
        }
      }
    },
    "UiTokenSecurity": {
      "type": "object",
      "description": "Contract-security flags. Solana reads them on-chain; a contract scan reads them on the EVM\nchains.",
      "required": [
        "mintDisabled",
        "transferBlockable",
        "rugPct"
      ],
      "properties": {
        "buyTaxBps": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "The token contract's own cut of a buy, in basis points; one layer of `totalBuyBps`.\n`null` when the launchpad states no rate.",
          "minimum": 0
        },
        "dividendMinHolding": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/Decimal",
              "description": "Balance of this token a wallet holds to qualify for a payout, in whole tokens."
            }
          ],
          "description": "Balance of this token a wallet holds to qualify for a payout, in whole tokens."
        },
        "dividendToken": {
          "type": [
            "string",
            "null"
          ],
          "description": "Address of the asset the token pays its tax back to holders in.\n`null` where no holder payout is known; it does not prove the token pays none."
        },
        "lpBurntPct": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/Decimal",
              "description": "LP permanently unavailable (burnt + locked), 0-100."
            }
          ],
          "description": "LP permanently unavailable (burnt + locked), 0-100."
        },
        "mintDisabled": {
          "type": "boolean",
          "description": "Mint authority revoked."
        },
        "rugPct": {
          "$ref": "#/$defs/Decimal",
          "description": "Share of supply held by wallets scored as rug risks, 0-100."
        },
        "sellTaxBps": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "The token contract's own cut of a sell, in basis points; see `buyTaxBps`.",
          "minimum": 0
        },
        "totalBuyBps": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "What a buy costs in total, in basis points — every fee layer the token's venue charges,\nsummed. `null` when no source states a rate.",
          "minimum": 0
        },
        "totalSellBps": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "What a sell costs in total, in basis points; see `totalBuyBps`.",
          "minimum": 0
        },
        "transferBlockable": {
          "type": "boolean",
          "description": "Freeze authority present."
        },
        "transferFeeBps": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "Transfer fee the token's own contract charges, in basis points — `250` is 2.50%.\n`null` when no source has scored the contract.",
          "minimum": 0
        }
      }
    },
    "UiTokenStats": {
      "type": "object",
      "description": "Trade stats over a trailing window that ends now, not a calendar bucket.",
      "required": [
        "5m",
        "30m",
        "1h",
        "6h",
        "24h"
      ],
      "properties": {
        "1h": {
          "$ref": "#/$defs/UiTokenWindowStats",
          "description": "Trailing 1 hour."
        },
        "24h": {
          "$ref": "#/$defs/UiTokenWindowStats",
          "description": "Trailing 24 hours."
        },
        "30m": {
          "$ref": "#/$defs/UiTokenWindowStats",
          "description": "Trailing 30 minutes."
        },
        "5m": {
          "$ref": "#/$defs/UiTokenWindowStats",
          "description": "Trailing 5 minutes."
        },
        "6h": {
          "$ref": "#/$defs/UiTokenWindowStats",
          "description": "Trailing 6 hours."
        }
      }
    },
    "UiTokenTotals": {
      "type": "object",
      "description": "All-time trade volume and fee totals.",
      "required": [
        "volume",
        "fees"
      ],
      "properties": {
        "fees": {
          "$ref": "#/$defs/UiTokenFees",
          "description": "All-time fee totals by kind."
        },
        "volume": {
          "$ref": "#/$defs/UiMoney",
          "description": "All-time trade volume."
        }
      }
    },
    "UiTokenTradeFees": {
      "type": "object",
      "description": "What a trade at this token's venue costs, and where its tax goes.",
      "properties": {
        "allocation": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/UiTokenFeeAllocation",
              "description": "Where the tax goes. Absent where the venue states nothing."
            }
          ],
          "description": "Where the tax goes. Absent where the venue states nothing."
        },
        "breakdown": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UiTokenFeeComponent"
          },
          "description": "The layers the totals are made of. A layer nobody states is absent, never zero."
        },
        "rewards": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/UiTokenFeeRewards",
              "description": "What a wallet holds to qualify for a payout. Absent at a venue gating on nothing."
            }
          ],
          "description": "What a wallet holds to qualify for a payout. Absent at a venue gating on nothing."
        },
        "totalBuyBps": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "What a buy costs in total, in basis points — every layer below, summed.",
          "minimum": 0
        },
        "totalSellBps": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "What a sell costs in total, in basis points; see `totalBuyBps`.",
          "minimum": 0
        }
      }
    },
    "UiTokenWindowStats": {
      "type": "object",
      "description": "Trade activity over one trailing window.",
      "required": [
        "priceChangePct",
        "volume",
        "buyCount",
        "sellCount",
        "buyVolume",
        "sellVolume"
      ],
      "properties": {
        "buyCount": {
          "type": "integer",
          "format": "int64",
          "description": "Buy-side trade count.",
          "minimum": 0
        },
        "buyVolume": {
          "$ref": "#/$defs/UiMoney",
          "description": "Buy-side volume."
        },
        "priceChangePct": {
          "$ref": "#/$defs/Decimal",
          "description": "Price change over the window, percent."
        },
        "sellCount": {
          "type": "integer",
          "format": "int64",
          "description": "Sell-side trade count.",
          "minimum": 0
        },
        "sellVolume": {
          "$ref": "#/$defs/UiMoney",
          "description": "Sell-side volume."
        },
        "volume": {
          "$ref": "#/$defs/UiMoney",
          "description": "Trade volume over the window."
        }
      }
    },
    "UiWalletIdentity": {
      "type": "object",
      "description": "One source's resolved profile for a trade's trader.",
      "required": [
        "source"
      ],
      "properties": {
        "avatar": {
          "type": [
            "string",
            "null"
          ],
          "description": "CDN URL of the avatar to render; `null` until the picture is mirrored."
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Human-readable name to render."
        },
        "farcaster": {
          "type": [
            "string",
            "null"
          ],
          "description": "The wallet's Farcaster handle, where the source links one."
        },
        "handle": {
          "type": [
            "string",
            "null"
          ],
          "description": "The wallet's handle on the source."
        },
        "source": {
          "$ref": "#/$defs/IdentitySource",
          "description": "Who resolved this identity."
        },
        "telegram": {
          "type": [
            "string",
            "null"
          ],
          "description": "The wallet's Telegram handle, where the source links one."
        },
        "twitter": {
          "type": [
            "string",
            "null"
          ],
          "description": "The wallet's bare X handle, where the source links one."
        }
      }
    },
    "UnixMilliseconds": {
      "type": "integer",
      "format": "int64",
      "description": "An instant, as milliseconds since the Unix epoch."
    }
  }
}