Skip to main content

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

ParameterTypeDescription
wrappedTokenIdBigNumberishthe id of the wrapped token bundle
recipientAddressstring(Optional) Optional. The address to send the unwrapped tokens to

Returns:

Promise<TransactionResult>