Interface: WrapUnwrapResult
GalaChain core SDK 1.0.0-rc.8 / bridge / WrapUnwrapResult
Interface: WrapUnwrapResult
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1249
Result of a completed wrap or unwrap (a failure is thrown, never returned)
Properties
amount
amount:
string
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1259
Amount transferred (decimal string)
completedAt
completedAt:
number
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1265
Timestamp when the operation completed (epoch ms)
fromChannel
fromChannel:
string
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1261
Source channel name (e.g., "music", "asset")
fromToken
fromToken:
string
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1255
Source token symbol (e.g., "MUSIC" for wrap, "GMUSIC" for unwrap)
success
success:
true
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1251
Always true: the operation completed
toChannel
toChannel:
string
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1263
Destination channel name (e.g., "asset", "music")
toToken
toToken:
string
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1257
Destination token symbol (e.g., "GMUSIC" for wrap, "MUSIC" for unwrap)
transactionId
transactionId:
string
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1253
BridgeTokenOut's transaction hash (the bridge request id when it answered none)