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 Deposit/Withdrawal Service, 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:
near call wrap.near near_deposit '{}' \
  --deposit 0.01 \
  --gas 30000000000000 \
  --useAccount your-account.near \
  --networkId mainnet
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.
near call wrap.near ft_transfer_call \
  '{"receiver_id": "intents.near", "amount": "10000000000000000000000", "msg": ""}' \
  --deposit 0.000000000000000000000001 \
  --gas 100000000000000 \
  --useAccount your-account.near \
  --networkId mainnet
In the Verifier contract, wrapped NEAR is identified as nep141:wrap.near.
See Deposits for details on the msg parameter and other deposit options.