Skip to main content
Contract ID: WhbarHelper
Granting a spender allowance to the WhbarHelper contract is required for the contract to transfer the WHBAR token from the user’s wallet to the contract.

Function name: unwrapWhbar

Code overview

Recommended gas limit: 1,000,000
Resources:

Next steps

Wrap HBAR for WHBAR

Deposit HBAR and receive WHBAR at 1:1.

WHBAR overview

How WHBAR works and its security advisory.