Skip to main content
The Verifier contract only accepts NEP-141 tokens, so native NEAR must be wrapped before depositing. The wrap.near contract converts NEAR to wNEAR at a 1:1 ratio. See wNEAR docs for a detailed reference guide.
If you’re using the 1Click Swap API or another managed integration, wrapping is handled for you - skip this guide.

Wrap and deposit

If you’re integrating directly with the Verifier contract, you must wrap your NEAR first before depositing:
1

Wrap your NEAR

Call near_deposit on the wrap.near contract, attaching the amount of NEAR you want to wrap. This example wraps 0.01 NEAR:
2

Deposit wNEAR into the Verifier contract

Call ft_transfer_call on wrap.near to deposit your wNEAR. wNEAR has 24 decimals, so 0.01 wNEAR = 10000000000000000000000.
In the Verifier contract, wrapped NEAR is identified as nep141:wrap.near.
See Deposits for details on the msg parameter and other deposit options.