Create a key in the app
Open Settings → Remote Transfers in the app and click Create remote transfer key. Give the key a name and set its spending limit — an amount and a period. Confirming does two things:- HEVN issues the key and predicts its spender wallet.
- Your wallet signs a spend permission naming that spender wallet, with the limit you set.
Create a key with the API
The key-management routes take your app session, not a remote transfer key:maxSpend.
200 OK:
key appears in this response only. walletAddress is the spender wallet: open the key in
Settings → Remote Transfers and set its spending limit to grant the permission. Until you do,
every transfer answers 403 No active spend permission for this API key.
Creating a key is refused with 403 in a session where a partner acts for your account. A key is a
lasting credential, so only your own session can issue it. HEVN notifies you whenever a key is created.
List keys
key, plus
keyPreview — the first eight and last four characters, such as rsl_Xk2a...9fQe.
Revoke a key
Delete the key in Settings → Remote Transfers. The app revokes the spend permission onchain first, then deletes the key. The API route deletes the key only:200 OK with {"ok": true}, or 404 API key not found. The deleted key stops authenticating at
once, but the spend permission stays onchain until you revoke it. Revoke it in the app too, so no
allowance is left pointing at a spender wallet nothing uses.
Keys do not expire. Deletion is permanent, and a deleted key cannot be restored — create a new one.
If a key leaks
- Delete it in the app. That revokes its permission and kills the key in one action.
- Create a new key with a new allowance.
maxSpend if you set one.
Next: API reference
Every route a key can call, with fields, examples and errors.