Skip to main content

Interface: WrappableTokenApiResponse

GalaChain core SDK 1.0.0-rc.8


GalaChain core SDK 1.0.0-rc.8 / bridge / WrappableTokenApiResponse

Interface: WrappableTokenApiResponse

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1041

Raw wrappable token response from DEX API /v1/tokens?wrappable=true

This is the structure returned directly from the API.

Properties​

additionalKey​

additionalKey: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1061

Additional key


balance?​

optional balance?: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1085

User's balance (only when address param provided)


bridgeDestinationChainId?​

optional bridgeDestinationChainId?: number

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1073

Bridge destination chain ID (if bridgeable)


category​

category: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1057

Token category


channel?​

optional channel?: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1069

Token channel (e.g., "music", "asset")


collection​

collection: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1055

Token collection


currentPrices?​

optional currentPrices?: WrappableTokenPrices

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1083

Current USD prices (optional)


decimals​

decimals: number

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1047

Token decimals


description?​

optional description?: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1049

Token description


disableBridge?​

optional disableBridge?: boolean

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1075

Whether bridging is disabled


image?​

optional image?: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1051

Token image URL


name​

name: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1045

Token display name


network​

network: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1063

Network (always "GC" for GalaChain)


priceIsKnownToExternalPriceSource?​

optional priceIsKnownToExternalPriceSource?: boolean

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1079

Whether price is known to external sources


priceSymbol?​

optional priceSymbol?: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1077

Price symbol for external price sources


stringifiedTokenClassKey​

stringifiedTokenClassKey: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1053

Pipe-delimited token class key (e.g., "$MUSIC|Unit|none|none")


swappable​

swappable: boolean

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1067

Whether the token is swappable on DEX


symbol​

symbol: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1043

Token symbol on GalaChain (e.g., "MUSIC", "GMUSIC")


optional trending?: boolean

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1071

Whether the token is trending


type​

type: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1059

Token type


verified​

verified: boolean

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1065

Whether the token is verified


wrap​

wrap: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1081

Counterpart token's stringified TokenClassKey (e.g., "$GMUSIC|Unit|none|none")