Skip to main content

bridge/interfaces/WrapUnwrapResult.md

Result of a completed wrap or unwrap (a failure is thrown, never returned)

Properties​

PropertyTypeDescription
amountstringAmount transferred (decimal string)
completedAtnumberTimestamp when the operation completed (epoch ms)
fromChannelstringSource channel name (e.g., "music", "asset")
fromTokenstringSource token symbol (e.g., "MUSIC" for wrap, "GMUSIC" for unwrap)
successtrueAlways true: the operation completed
toChannelstringDestination channel name (e.g., "asset", "music")
toTokenstringDestination token symbol (e.g., "GMUSIC" for wrap, "MUSIC" for unwrap)
transactionIdstringBridgeTokenOut's transaction hash (the bridge request id when it answered none)