Skip to main content

Interface: GetWrappableTokenOptions

GalaChain core SDK 1.0.0-rc.8


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

Interface: GetWrappableTokenOptions

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

Options for getting a wrappable token by tokenId

Properties​

tokenId​

tokenId: TokenClassKeyInput

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

Token identifier in flexible format.

Accepts:

  • Pipe-delimited string: "$MUSIC|Unit|none|none"
  • TokenClassKey object: { collection: '$MUSIC', category: 'Unit', type: 'none', additionalKey: 'none' }

Examples​

"$MUSIC|Unit|none|none"
{ collection: '$MUSIC', category: 'Unit', type: 'none', additionalKey: 'none' }