Multiwrap.unwrap() method
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Unwrap a wrapped token bundle, and retrieve its contents
Example
await contract.unwrap(wrappedTokenId);
Signature:
unwrap(wrappedTokenId: BigNumberish, recipientAddress?: string): Promise<TransactionResult>;
Parameters
Parameter | Type | Description |
---|---|---|
wrappedTokenId | BigNumberish | the id of the wrapped token bundle |
recipientAddress | string | (Optional) Optional. The address to send the unwrapped tokens to |
Returns:
Promise<TransactionResult>