@evefrontier/dapp-kit - v0.1.10-alpha.3
    Preparing search index...

    Function getWorldType

    • Resolve a world Move type to its fully-qualified, type-origin-correct tag.

      • A raw 0x… env value is treated as already-canonical and interpolated verbatim (${addr}::${key}), preserving legacy single-package behavior.
      • An MVR name (@evefrontier/world-<tier>) is looked up in the embedded resolution snapshot. A missing entry throws — it means the snapshot is stale (a new type/tier was added without regenerating) rather than silently building a filter that matches nothing.

      Parameters

      • key:
            | "character::Character"
            | "character::PlayerProfile"
            | "access::OwnerCap"
            | "object_registry::ObjectRegistry"
            | "energy::EnergyConfig"
            | "fuel::FuelConfig"
            | "in_game_id::TenantItemId"
            | "inventory::ItemBurnedEvent"
            | "inventory::ItemMintedEvent"
            | "status::StatusChangedEvent"
            | "fuel::FuelEvent"

        Short module::Type key (see WorldTypeKey)

      • network: "testnet" | "devnet" | "mainnet" = DEFAULT_GRAPHQL_NETWORK

        Network to resolve against. Defaults to the app default.

      Returns string

      The fully-qualified type tag, e.g. 0x…::character::Character

      If the env var is unset, or an MVR name has no snapshot entry