Research/Education/Near/Is NEAR Safe? Access Key Lockups, Account Deletion, and Smart Contract Risks

Is NEAR Safe? Access Key Lockups, Account Deletion, and Smart Contract Risks

BloFin Academy11/14/2026

When you hold your own crypto, the price is not the only thing that can cost you money: a lost key, a mistyped address or a faulty app can lose your coins for good.

NEAR Protocol has its own rules for keys and accounts, and knowing them prevents most of those mistakes. Since its mainnet launch in April 2020 (source: Wikipedia, NEAR), NEAR has run for over five years with 100% uptime across more than 4 billion transactions (source: NEAR Docs, What is NEAR). Even so, user mistakes with keys, account deletion, and cross-contract calls can lock or lose coins for good (source: NEAR Docs, Avoiding Token Loss).

With the basics of crypto security fundamentals and a few NEAR-specific checks, you can verify addresses, manage your keys and protect your balance.

Is NEAR Protocol safe for token holders?

NEAR Protocol secures its ledger through proof-of-stake nodes and has kept 100% mainnet uptime for over five years (source: NEAR Blog, Tokenomics). Still, you can lose coins for good if you lose your only full-access key, close an account and send its balance to a name that does not exist, or use a faulty contract (source: NEAR Docs, Avoiding Token Loss).

No public chain can undo a valid signed transfer after it settles. The network itself runs reliably; most on-chain losses come from how keys and contracts are used. Holders also carry market price risk: NEAR traded at $4.69 on October 20, 2026, about 77% below its all-time high of $20.44 on January 16, 2022 (source: CoinGecko, NEAR Protocol).

Risk scenarioWhat causes itResult for your coinsHow to prevent it
Full-access key lossLosing the seed phrase for your only full-access keyCoins stay locked in the account foreverKeep offline seed backups or add a backup key
Function-call lockupRemoving all full-access keys and leaving only function-call keysAccount cannot send NEAR, add keys, or delete itselfKeep at least one full-access key on a personal wallet
Allowance runs outA function-call-only account spends all of its gas allowanceAccount is locked from signing any new callSet allowance to 0 (unlimited) or keep a full-access key
Missing beneficiaryClosing an account and sending its balance to a mistyped nameRefund goes to active validators by stake weightLook up the name on a block explorer first
Zero-balance cleanupEmptying an account to 0 NEAR while a refund is on the wayEmpty account is deleted before the refund lands; coins go to nodesKeep a small NEAR buffer so your balance never hits zero
Async batch failureOne contract sends coins to two others, and only one succeedsThe failed transfer is refunded; the successful one is not undoneUse audited contracts that check results in a callback

For traders who want NEAR exposure without managing on-chain keys or beneficiary checks themselves, BloFin gives you a direct exchange option. You can buy coins on NEAR/USDT Spot (0.1 NEAR minimum order, 0.001 USDT price increment) to hold or withdraw later. You can also trade price moves on the NEARUSDT Perpetual contract (10 NEAR per contract, up to 75x leverage) after checking the BloFin fee schedule.

How a NEAR account can get locked

Unlike single-key chains where one private key is tied to one address forever, a NEAR account can hold multiple keys across two tiers (source: NEAR Docs, Access Keys). Full-access keys hold unrestricted authority over the wallet, whereas function-call keys can only invoke specific actions on one designated smart contract.

Two kinds of key protect your wallet when you sign in to apps, but three habits can lock you out (source: NEAR Docs, Avoiding Token Loss). See NEAR named accounts and access keys.

First is the loss of a full-access key. If your account holds only one full-access key pair and you lose its private key or seed phrase with no backup key on-chain, no one can reset your account. Your NEAR and token balances stay locked in that account forever (source: NEAR Docs, Avoiding Token Loss).

Second, an account with only app keys left is locked. If you remove all full-access keys from an account and leave only function-call keys, the account is locked down by protocol rules. It cannot send native NEAR, delete itself, or add or remove keys. It can only use the one app named on its remaining key. Also, if an account has only one function-call key and that key is deleted, no key is left to sign calls and the funds stay locked forever (source: NEAR Docs, Avoiding Token Loss).

Third, an app key can run out of gas money. Each app key can have a gas budget, an amount of NEAR it may spend on fees. Setting that budget to 0 or leaving it blank gives an unlimited gas budget. If an account holds only function-call keys and its gas budget runs out, the key stops working and the account is locked from starting any call. If you use a gas key, a key that holds its own NEAR for fees, deleting it burns whatever NEAR is left on it. NEAR will not let you delete the key, or the account, if more than 1 NEAR would be burned (source: NEAR Docs, Access Keys). Always withdraw the NEAR from the gas key first.

Say you create a sub-account, vault.alice.near, and fund it with 20 NEAR. You then add a function-call key for a staking app with a 0.25 NEAR gas budget and delete the sub-account's full-access key.

  • While gas budget remains: With no full-access key, the sub-account can never send NEAR or add a new key. It can only call the staking contract named on its function-call key.
  • When the 0.25 NEAR budget runs out: Once app calls spend the full 0.25 NEAR gas budget, the function-call key stops working. With no full-access key left to add a new key, the 20 NEAR inside vault.alice.near is locked forever. Only a built-in key recovery method on the staking contract itself could restore access to it (source: NEAR Docs, Access Keys).

How closing or emptying a NEAR account can lose coins

If you hold a full-access key, you can close a NEAR account at any time (source: NEAR Docs, Transaction Anatomy). Because NEAR settles transfers and refunds across shards in separate blocks, closing or emptying an account carelessly can forfeit your balance (source: NEAR Docs, Avoiding Token Loss).

The first trap is closing an account into a non-existent beneficiary. When you close an account, you name the account that receives its remaining NEAR (source: NEAR Docs, Avoiding Token Loss). Once your account is closed, NEAR sends the remaining NEAR to the account you named.

What happens if you mistype the recipient name (such as typing alicee.near instead of alice.near) and that account does not exist on-chain? If no alicee.near account exists, NEAR tries to send the coins back. But your account is already closed, so the refund has nowhere to go. Whenever a refund targets an account that no longer exists, the network splits those funds across the epoch's active validators by stake weight (source: NEAR Docs, Avoiding Token Loss).

The second trap is zero-balance account cleanup before a refund arrives. Suppose account A sends 100% of its NEAR balance to an unregistered account B. When the transfer fails on shard B, the chain sends a refund message back to account A. During that short cross-shard trip while the refund is on the way, account A sits at zero balance. That leaves it open to the network's automatic cleanup of empty accounts. If account A is deleted while its balance is zero, right before the refund lands, the returning coins are split among the epoch's validators (source: NEAR Docs, Avoiding Token Loss).

Compare what happens when you mistype a recipient (alicee.near, which is unregistered) during a normal send versus when closing an account.

  • Normal transfer keeping a small buffer: Say your account holds 50 NEAR and you send 49 NEAR to alicee.near, a name nobody has registered, keeping 1 NEAR. The send fails on the target shard and returns the 49 NEAR to your account in the next block, leaving you with all 50 NEAR minus tiny gas (source: NEAR Docs, Validating Recipient Accounts).
  • Closing an account with alicee.near as the recipient: Say your account holds 50 NEAR and you close it, naming alicee.near to receive the balance. Shard 1 closes your account right away and sends 50 NEAR to alicee.near. Because alicee.near is not found on-chain, the 50 NEAR refund comes back to your closed account and goes to the network's validators forever (source: NEAR Docs, Avoiding Token Loss).

What happens when a smart contract fails or is hacked

When you use DeFi pools, NFT markets or games on NEAR, it also matters how the app handles a step that fails (source: NEAR Docs, Avoiding Token Loss). Knowing how multi-step transactions handle errors stops surprise token lockups in your wallet.

There are two kinds of multi-step transaction on NEAR, and they fail differently. Every NEAR transaction has one sender and one recipient (source: NEAR Docs, Transaction Anatomy). You can bundle several steps for that one recipient, and they run in order. If any step in the list fails, the whole transaction is rolled back and none of the steps take effect.

The second kind is when one contract sends coins to two other contracts at once (source: NEAR Docs, Avoiding Token Loss). Those two transfers run separately, so one can fail while the other goes through. If one works and the other fails, only the failed transfer is refunded. The coins from the transfer that worked stay where they went. A badly written app may assume one failure undoes the whole thing. Then your coins can get stuck, unless the app checks the result and reverses the step itself.

A bug in one smart contract only affects that contract; the rest of NEAR keeps running. Protocol caps limit how much data and compute (1,000 Tgas per chunk) any contract call can use (source: NEAR Docs, Gas). Even so, a flaw inside a DeFi pool can still drain the coins held inside that pool.

A clear example of contract-level risk happened in 2022 on Skyward Finance, a launchpad built on NEAR (source: Wikipedia, NEAR).

  • What went wrong: The treasury contract on Skyward Finance failed to check whether a user passed duplicate token account IDs inside its redemption list.
  • How the exploit worked: An attacker passed duplicate wrapped NEAR token account IDs into one call loop. That caused the contract to pay out wrapped NEAR over and over, draining about $3 million from the Skyward treasury (source: Wikipedia, NEAR).
  • The takeaway for holders: Base-layer consensus ran without a hitch and no other NEAR accounts were touched. That shows why chain uptime does not protect coins placed into an unverified contract.

More recently, on October 1, 2026, an attacker used a bug in how the deposit and withdrawal system on the Omni Bridge interacted with the NEAR Intents contract to take about $3.8 million in USDT on BNB Chain (source: Decrypt, NEAR Bridge Incident). The team patched the flaw within an hour and stated the next day that the funds had been returned in full. An on-chain review by Unchained confirmed that most of the funds, about 78%, were returned (source: Unchained, NEAR Bridge Review).

Validator concentration, staking safety, and cross-chain bridge risks

At the network level, holders also ask whether staked NEAR faces validator penalties, how spread out the servers are, and what risks apply when bridging coins.

On NEAR, validators lock stake to check blocks and chunks across 43,200-block (7.2-hour) epochs (source: NEAR Docs, Epoch). The minimum stake needed to join the active node set, called the seat price, is 1/62,500 of all staked NEAR, or about 9,600 NEAR today (source: NearBlocks, Validators). Three factors shape node and bridge safety on the chain.

  • Offline downtime kickout threshold: If a validator goes offline and produces less than 80% of its share of blocks or chunks in an epoch (or 70% for chunk validators), NEAR removes it at the next epoch (source: NEAR Docs, Epoch). Stakers can then unstake and withdraw after 3 to 4 epochs of about 7.2 hours, roughly 22 to 29 hours (source: NearBlocks, Validators).
  • Malicious behavior (slashing): Under NEAR's validator design, a node caught trying to produce an invalid block or a double spend is removed and its stake burned (source: NEAR Docs, Validators). In practice, protocol-level slashing is not yet active on mainnet (source: Staking Rewards, NEAR Methodology).
  • Cloud hosting concentration: Holders should also watch server hosting spread. A 2023 Messari study found that about 35% of staked NEAR sat on Amazon Web Services (AWS) servers. That meant a single cloud provider controlled more than a third of the stake, so one company's outage could stall the network (source: Wikipedia, NEAR).

When you move coins between NEAR and other chains, how safe the transfer is depends on how the bridge works (see how to bridge to NEAR). NEAR's first Ethereum bridge, the Rainbow Bridge, used on-chain light clients and took 4 to 8 hours to clear NEAR-to-Ethereum withdrawals (source: NEAR Docs, How Omni Bridge Works). Ethereum transfers moved to the Omni Bridge in April 2025, when the locked value on the Rainbow Bridge fell from about $256 million on April 9 to under $2 million the next day (source: DefiLlama, Rainbow Bridge). Meanwhile, the Omni Bridge pairs Chain Signatures and Multi-Party Computation (MPC) signers with light clients for Ethereum, Bitcoin, and Zcash, and uses cross-chain checks for Solana, Base, BNB, Arbitrum, and Polygon (source: NEAR Docs, OmniBridge).

How to protect your NEAR account and tokens

Before you sign a transfer, close an old wallet, or swap tokens on a decentralized exchange (DEX), you can block the most common causes of token loss by following NEAR's recipient check rules (source: NEAR Docs, Validating Recipient Accounts). To spot phishing linkdrops and fake tokens, read NEAR scams and fake tokens.

  1. Check that a recipient or beneficiary account exists on-chain: Before sending funds or closing an account, check that the receiving .near name exists. You can also search the name on a block explorer such as NearBlocks; if no account is found, nobody owns it. Never close an account into an unverified beneficiary name.
  2. Confirm unfunded implicit and 0x addresses with a 0.01 NEAR test send: Sending tokens to an unregistered .near name fails and refunds your coins, as explained in how to send and receive NEAR. By contrast, sending tokens to an unfunded 64-character hex address or 42-character 0x address works on-chain. Send 0.01 NEAR first and ask the recipient to confirm it arrived.
  3. Verify exact token contract IDs against an allowlist: Never trust a token based only on its ticker symbol. Official Tether USD₮ on NEAR uses the contract ID usdt.tether-token.near instead of usdt.near. You can also check a token against the list of verified tokens on Rhea Finance, which is a useful reference, though it is a trading list and not a safety guarantee (source: NEAR Docs, Validating Recipient Accounts).
  4. Keep a backup full-access key and never leave a personal wallet with only function-call keys: Store your seed phrase offline (see how to store NEAR safely). Never give an app a full-access key, and always keep your master full-access key on your personal wallet.
  5. Sweep gas keys first: Always withdraw the NEAR from a gas key before you delete it. After that, keep a small NEAR buffer in your account so it never hits zero balance while waiting for a refund (source: NEAR Docs, Avoiding Token Loss).

If you want to buy NEAR on an exchange or compare spot and futures orders, see our guide on how to buy NEAR. Ready to trade NEAR on BloFin? Create a BloFin account, fund your balance using the BloFin deposit guide, and trade NEAR/USDT Spot or the NEARUSDT Perpetual.

Frequently asked questions

What happens if I send NEAR to a mistyped .near account name?

If you send NEAR to a name like alicee.near that nobody has registered, the transfer fails (source: NEAR Docs, Validating Recipient Accounts). The chain then sends your coins back right away (minus a tiny fraction of a cent in gas). That refund lands safely as long as your sender account still exists on its shard.

How can you check whether a NEAR app has been audited?

Before depositing funds into a decentralized exchange, lending pool, or staking contract on NEAR, look up the project's repository and audit reports through the official reference contracts directory (source: NEAR Docs, Reference Contracts). You can also verify the live contract account on NearBlocks to see whether its source code is verified and whether its access keys have been locked.

What does it mean when a NEAR contract account is locked?

When you remove all full-access and function-call keys from a NEAR account, the account becomes locked so no outside user or key can sign calls in its name (source: NEAR Docs, Access Keys). App teams often lock a contract's account after they publish it. That gives users a clear proof that no admin key can change the contract code or drain its funds.

How do I safely close a NEP-611 gas key and recover its prepaid balance?

Deleting a gas key burns any NEAR still on it, to stop spam (source: NEAR Docs, Access Keys). Before you remove the key, withdraw its NEAR to your account. That moves the NEAR back to your main balance, and you can then delete the empty key.

Can a buggy smart contract on NEAR corrupt validator nodes or other shards?

NEAR walls off smart-contract faults at the base layer by setting strict compute and data caps on every contract call. A bug in an app contract can only hurt the state and funds held inside that one contract (source: NEAR Docs, Gas). Also, unless an app team locks the contract account, NEAR lets teams update contract code on the same account ID to fix bugs in place.


Researched and written by the BloFin Academy editorial team with AI-assisted drafting. Primary sources include the official NEAR Protocol documentation on Avoiding Token Loss, Access Keys (full-access, function-call, gas keys, and locked accounts), Validating Recipient Accounts (usdt.tether-token.near verification and Rhea Finance token lists), Transaction Anatomy, What is NEAR, Gas, Reference Contracts, Epoch (43,200 blocks and kickout thresholds), Validators, How Omni Bridge Works, and OmniBridge Overview, alongside the NEAR Blog tokenomics report, CoinGecko price data, NearBlocks validator and epoch data, Staking Rewards' NEAR methodology, DefiLlama's Rainbow Bridge data, Decrypt and Unchained incident reports, Wikipedia's NEAR overview (2022 Skyward Finance exploit and 2023 Messari AWS study), and BloFin spot and perpetual contract specifications. All facts independently verified against cited documentation current as of October 2026.

This article is for informational and educational purposes only. It is not financial, investment, trading, or legal advice. Cryptocurrency can lose value. Managing private keys, deleting accounts, interacting with smart contracts, and trading on NEAR Protocol carries technical, key-loss, smart-contract, and market risks. Spot NEAR/USDT buys the token. A NEARUSDT Perpetual is a contract on the price. Do your own research. Consider your circumstances before using any protocol or trading any asset.