> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hellonear.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Gas relayer (NEP-366)

> A meta-transaction relayer that pays the gas for an owner's calls to the registry contract, never a deposit.

**Track:** `realworld`. **Source:** `apps/be/src/relay.ts`, tests in `apps/be/test/relay.test.ts`.

Owners should not need NEAR for gas to manage their Minds. The relayer accepts a NEP-366 signed delegate action from the signed-in owner and sends it, paying the gas. It is **live on the hosted demo** for two registry methods, `unequip_skill` and `set_wallet`, paid by `relayer.hellonear-swarm.testnet`, whose only key lives on the server.

## Limits

* Only calls to the registry contract, only `unequip_skill` and `set_wallet`, with exactly 1 yoctoNEAR attached. A relayer pays any inner deposit too, so methods that need storage or a price (`register_mind`, `equip_skill`) are not relayed.
* Everything that can be refused is refused before sending: sender is the signed-in account, receiver is the registry, gas, ed25519 signature, expiry within 1000 blocks, full-access key, nonce. A bad request costs no gas.
* 10 per owner per hour. Not for try-out users.

## Through the API

`POST /v1/relay { "signedDelegate": "<base64 Borsh>" }`. Answers `503 relay_not_configured` until a relayer account is set.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.