Skip to main content

Interface: BridgeTokenLookup

GalaChain core SDK 1.0.0-rc.8


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

Interface: BridgeTokenLookup

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

What resolves a token id to the token bridgeable to a network (its symbol): the BridgeableTokenService, or anything with its getTokenByTokenId.

Methods​

getTokenByTokenId()​

getTokenByTokenId(tokenId, network): Promise<{ symbol: string; } | undefined>

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

Parameters​

tokenId​

string

network​

BridgeableNetwork

Returns​

Promise<{ symbol: string; } | undefined>