Research/Education/Near/NEAR Meta-Transactions Explained: Gasless Relayers, Linkdrops, and FastAuth

NEAR Meta-Transactions Explained: Gasless Relayers, Linkdrops, and FastAuth

BloFin Academy11/12/2026

Before most people can use a blockchain app, they have to buy the network's coin to pay gas and write down a 12-word seed phrase (source: Wikipedia, Crypto Wallet). Many new users give up before they start. Meta-transactions, pre-funded claim links, and shared-key logins remove those steps so you sign the transaction while someone else, usually the app, pays the gas.

On NEAR Protocol, gasless and seedless user onboarding is built directly into the base protocol across three complementary standards. With a meta-transaction (NEP-366), you sign a request and a server called a relayer sends it on chain and pays the gas. Linkdrops (NEP-452) and NEAR Auth handle creating accounts for free and signing in with Google or email (source: NEAR Docs, Meta Transactions).

Together, they let an account with no NEAR send tokens such as USDC, claim NFTs or a new .near name from a link, and sign in with Google, Apple, email, or a passkey (source: NEAR Docs, Meta Transactions).

What are meta-transactions and gasless onboarding on NEAR?

A meta-transaction on NEAR is a request you sign but someone else submits and pays for, so you can use apps without holding any NEAR. The protocol supports two versions, the original format (NEP-366) and a newer one, delegate v2 (NEP-611), both submitted on-chain by a third-party relayer account (source: NEAR Docs, Meta Transactions).

On traditional single-key blockchains, the account that signs a transaction must also hold the native gas coin to pay validators for execution (source: Ethereum.org, Gas), or else rely on external smart-contract wallets as covered in account abstraction and smart wallets.

NEAR already keeps account names separate from the keys that control them, as explained in NEAR named accounts and access keys. That design, along with how NEAR works across shards, is why gas sponsorship and sign-up without a seed phrase are built into the network (source: NEAR Docs, Meta Transactions).

Onboarding primitiveStandardWhat it solves for the holderWho pays
Meta-transactionsNEP-366 and NEP-611Lets an initialized .near account execute calls with 0 NEAR balance (or pay fees in a NEP-141 token)A relayer submits your signed request and pays the gas
LinkdropsNEP-452 (Keypom)Distributes NEAR, NEP-141 tokens, NFTs, or automated contract calls via a shareable URL containing a temporary ed25519 private keyThe sender of the link pays in advance when creating it
NEAR Auth (FastAuth)NEAR's MPC signing networkReplaces seed phrases and browser extensions with sign-in through Google, Apple, email, or a passkeyA relayer sends transactions signed by NEAR's MPC network

On BloFin, you can trade NEAR on the spot market or as a perpetual future. You can buy or sell the asset on NEAR/USDT Spot (minimum order size 0.1 NEAR, price tick 0.001 USDT) or trade leveraged price movements via the NEARUSDT Perpetual contract (10 NEAR per contract, up to 75x leverage). Review maker and taker fee tiers on the BloFin fee schedule.

How a relayer pays gas for you

Introduced in NEP-366 (designed by Alexander Fadeev and Egor Uleyskiy), a meta-transaction has two parts: the request you sign, and the transaction the relayer wraps around it and pays for. That gas payer is the relayer, an off-chain server that validates and submits user requests to the network (source: NEAR Docs, Meta Transactions).

Say you hold 10 USDC on NEAR and want to send it to a friend, but you have no NEAR for gas. Tokens on NEAR are explained in NEAR token standards NEP-141 and NEP-171. If you submit a normal signed transaction, validator nodes reject it immediately because your account cannot purchase gas. Under NEP-366, your wallet and the relayer execute a five-step pipeline across shards.

  1. You sign: Your wallet builds a request saying who you are, what you want to do, which contract to call, and when it expires. You sign it with your private key and your wallet sends it to the relayer.
  2. The relayer sends it: The relayer checks your request, puts it inside its own transaction, signs that, and sends it to NEAR. The relayer's account pays for all prepaid gas and any native NEAR deposit attached to the request.
  3. Conversion on the relayer's shard: On the relayer's home shard, executing the outer transaction deducts the gas and attached deposit from the relayer's balance. Your request is then passed to the shard that holds your account.
  4. NEAR checks your signature: On your account's shard, NEAR checks that you signed the request, that the transaction count is in order, and that it has not expired.
  5. Your action runs: NEAR then sends your action on to the contract, marked as coming from you. The token contract then makes the transfer as if you had paid the gas yourself (source: NEAR Docs, Meta Transactions).

Paying relayers with fungible tokens and gas accounting

Apps can pay your gas for free, or let you pay the relayer in a token instead of NEAR. Understanding the cross-shard gas and refund rules explains how relayers price and filter those requests (source: NEAR Docs, Meta Transactions).

To pay the relayer in a token, your request contains two transfers: first 0.1 USDC to the relayer, then 10 USDC to your friend. The relayer checks that the fee comes first and that you hold enough of the token. It still takes a small risk that you empty your balance before the transaction runs (source: NEAR Docs, Meta Transactions).

For an app, one shared relayer needs far less NEAR than funding every user's key separately.

  • Worked capital comparison: Suppose an app signs up 1,000,000 users. Without a relayer, allocating a standard 0.25 NEAR gas allowance to each user's account locks 250,000 NEAR across those accounts, even though historically only about 10% of onboarded users consume their full allowance. By routing transactions through a NEP-366 relayer, the app can maintain a single shared pool of 50,000 NEAR that covers active users on demand and is topped up as needed (source: NEAR Docs, Meta Transactions).

Who pays and who gets refunds

Because a meta-transaction passes through up to three shards, NEP-366 sets its own rules for gas and refunds. Gas itself is explained in NEAR gas and storage staking.

  • Extra gas: The relayer pays gas for both its own wrapper transaction and your request, at the same-account or cross-account rate. Your request travels twice, from the relayer to you and from you to the contract, so it costs two sending fees plus the cost of running it.
  • Gas refunds versus attached balance refunds: Gas refunds go to the relayer, because the relayer paid for the gas (source: NEAR Docs, Gas). But if your action included NEAR and fails on the destination shard, that NEAR is refunded to you, not to the relayer.
  • Using a limited key with zero allowance: When you sign with a limited app key, NEAR checks that the key is allowed to use that contract and action. However, it does not check or deduct from the key's allowance, because the relayer has already paid all gas costs (source: NEAR Docs, Meta Transactions).

Sending many meta-transactions at once

Each key numbers its transactions in order; that number is the nonce. Every meta-transaction requires a sequential nonce tied to an on-chain access key on the sender's account to prevent replay attacks, which historically created a bottleneck when one account or relayer submitted many transactions at the same time (source: NEAR Docs, Meta Transactions).

In nearcore 2.13 (protocol version 86), NEP-611 introduced gas keys (access keys that hold a prepaid gas balance and up to 1,024 parallel transaction slots) alongside delegate v2, the second version of the meta-transaction format (source: NEAR Docs, Access Keys).

The new version works like the original, except it can also be signed with a gas key, which can send many requests at once. The protocol checks that the nonce format matches the signing key type. In addition, the two versions are signed differently, so a request signed for one cannot be reused as the other (source: NEAR Docs, Meta Transactions).

The new version lets both you and the relayer send many requests at once.

  1. For you: With a gas key, an account or bot can have hundreds of meta-transactions in progress at once without them clashing. Your gas key only keeps the requests in order; the relayer still pays the gas.
  2. For the relayer: High-throughput relayers previously had to manage and rotate dozens of separate full-access keys to avoid nonce collisions when wrapping thousands of user transactions per minute. Now a relayer can use one gas key, topped up with NEAR, to send thousands of transactions at once.

Both versions follow the same rules. Each relayer transaction can carry only one request, and requests cannot be placed inside each other (source: NEAR Docs, Meta Transactions).

Linkdrops and signing in with Google or email

Meta-transactions only work for accounts that already exist on NEAR. For brand-new users, NEAR uses NEP-452 linkdrops and NEAR Auth (source: NEAR Docs, Linkdrops).

A linkdrop is a web link that holds tokens, an NFT, or a new account for whoever opens it, as covered in NEAR wallet setup. Only open linkdrops from senders you trust; see NEAR scams and fake tokens.

  1. Creating the link: The sender creates a new key and funds the drop, for example 0.01 NEAR per claim and 100 Tgas. The Keypom contract stores the public key on chain, and the private key is placed inside the link so whoever opens it can claim the drop.
  2. Four kinds of drop: A linkdrop can hold NEAR, an NFT, another token, or an action in an app (source: NEAR Docs, Linkdrops).

NEAR Auth, FastAuth, and MPC Web2 login

To replace seed phrases and browser wallet extensions with Web2 logins, NEAR Auth (also known as FastAuth) combines Web2 OAuth and passkey authentication with decentralized Multi-Party Computation (MPC) key management and gasless relayers (source: NEAR Docs, NEAR Auth).

NEAR Auth does away with a single private key stored on your device and works in three parts. More details on shared keys are in MPC wallets explained and NEAR chain abstraction.

  • Sign-in: You log in with Google, Apple, email, or a passkey through Auth0, and the same login always opens the same NEAR account on any device.
  • Shared signing: Your key is never stored in one place. NEAR's Multi-Party Computation (MPC) network signs for you, with each node holding only a piece, so no single party ever holds or reconstructs your private key (source: NEAR Docs, Chain Signatures).
  • Sending: When you take an action, FastAuth asks you to confirm it and then gets the signature from NEAR's MPC network. A built-in relayer then broadcasts the signed transaction on chain (source: NEAR Docs, NEAR Auth).

Looking to trade NEAR tokens on BloFin? To get started, you'll need to first create a BloFin account, fund your account with cryptocurrency, and navigate to the NEAR/USDT Spot trading page or the NEARUSDT Perpetual page.

Frequently asked questions

Can a brand-new, uninitialized NEAR address send a NEP-366 meta-transaction?

A new address cannot send a meta-transaction until the account exists on NEAR. Every meta-transaction must carry a sequential nonce that the validator on the sender's shard compares against the on-chain access-key record created when the account was set up. New users first set up their account through a linkdrop, an app that creates it for them, or by receiving some NEAR (source: NEAR Docs, Meta Transactions).

How should relayers protect against malicious attached-deposit refund attacks?

If an action that carries NEAR fails, the NEAR is refunded to the user, not the relayer, so a bad actor could make the relayer pay NEAR into a call designed to fail. To avoid this, relayers check every request and refuse or limit any that ask them to send NEAR (source: NEAR Docs, Meta Transactions).

What happens if a function-call key's gas allowance is zero when signing a meta-transaction?

Normally, if a restricted function-call access key exhausts its NEAR gas allowance, the key becomes unusable for standard transactions. But when you sign a meta-transaction with that key, NEAR only checks that the key may use the contract. Because the relayer covers all gas costs upfront, the protocol skips the allowance check entirely and executes the call even if the key's remaining allowance is zero (source: NEAR Docs, Meta Transactions).

Can a signed meta-transaction be reused in the newer format?

Each version of NEAR's meta-transaction format is signed with its own distinct label under NEP-461, and the two formats also organize their transaction counts differently when a wallet prepares the request. Because of those signing and formatting rules, a request signed in the original format is rejected on chain if someone tries to submit it as the newer format (source: NEAR Docs, Meta Transactions).

Why does NEAR Auth open a pop-up or a new page when I confirm a transaction?

When you confirm an action in an app that uses NEAR Auth (FastAuth), it opens a pop-up or a new page to check your Google, Apple, email, or passkey login before the MPC network signs the request. Once you approve the login check, the built-in relayer broadcasts your signed transaction on chain without requiring a seed phrase (source: NEAR Docs, NEAR Auth).


Researched and written by the BloFin Academy editorial team with AI-assisted drafting. Primary sources include the official NEAR Protocol documentation on Meta Transactions (NEP-366, relayer architecture, cross-shard gas accounting, gas and balance refunds, and NEP-611 delegate v2), Access Keys (NEP-611 gas keys and 1,024 parallel transaction slots), Using Linkdrops (NEP-452 and Keypom), NEAR Auth (FastAuth Auth0 login), Chain Signatures, and Gas, alongside Ethereum.org gas documentation, Wikipedia's Cryptocurrency Wallet overview, 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. Using meta-transaction relayers, claiming linkdrops, authenticating with MPC wallets, and trading on NEAR Protocol carries technical, 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.