Instruction keys
Delegate trading to a key that can never withdraw, bind it per account with a scope, a builder fee cap and a nonce mode, and change or remove it with one owner signature.
On this page
An instruction key signs orders for one of your accounts, so your bot, app or browser session doesn't need your owner key. No instruction key can withdraw, transfer to another wallet or manage keys (see Account model).
Bind a key
The owner key binds a key to one account with its own scope and builder fee caps, until you remove it (API reference); on a new wallet, the first bind is Enable Trading. An account holds up to 25 keys: at the limit a new bind is refused, but changing or removing a key always works.
Permission scopes
Every binding has one scope, Full or Reduce Only.
| Action | Full | Reduce Only |
|---|---|---|
| Place an order that opens or adds to a perp position, or any spot order | Yes | No |
| Place a reduce-only perp order | Yes | Yes |
| Replace an order | Yes | Only with reduceOnly |
| Cancel an order, mass cancel | Yes | Yes |
| Arm or shorten the dead-man switch | Yes | Yes |
| Turn the dead-man switch off, or lengthen it | Yes | No |
| Move isolated margin | Yes | No |
| Transfer between your own accounts, stake, unstake | Yes | No |
| Transfer to another wallet, withdraw, bind keys | Never | Never |
Reduce Only suits a risk process that must flatten, and the key placing your triggered TP and SL.
Builder fee caps
Each binding caps the builder fee its key's orders may carry, at most 10 bps (0.1%) on perps and 100 bps (1%) on spot. An order above the cap is rejected, and lowering a cap affects new orders only. TP/SL and TWAP orders are the exception: each order they place carries their builder fee lowered to the delegate key's cap at that moment, or none at 0, so a stop still fires, and the full fee again on later orders if the cap is raised.
A cap above 0 lets the key pay any builder up to that rate: bind with 0 for none, or with the cap you agree to for an app (see Builder fees).
See, change and remove keys
- See your keys. The key list shows every key bound in your wallet, with each binding's account, scope, builder fee caps and nonce mode. It's a public read, so any app can show it. ATLAS stores no label for a key, so keep your own note of which key belongs to which app.
- Change a key's scope. Bind the same key to the same account again with the new scope. It applies from the key's next request, and the key's other bindings and resting orders stay as they were. The nonce mode can't change while the key is bound: remove the key and bind it again.
- Remove a key. A remove takes the key off one account and answers once it has applied. The key's other bindings stay, and so do its resting orders: to pull them, mass cancel with another bound key.
- Rotate an instruction key. Bind the new key everywhere the old one served, move your process over, then remove the old key.
Rotate your owner key
The owner key names a new owner key, which must sign to accept. Bindings and addresses carry over, and the old key stops being owner at once. Rotating to no owner key is permanent: nobody can then withdraw, transfer out or change keys, while bound keys keep trading. For co-signing keys, see Multi-sig.
If a key leaks
A leaked key can trade badly within its scope and caps, but can't move funds out. Shut it down in order:
- Rebind it on each account as Reduce Only with caps of 0 to pause it at once, or skip to removing it.
- Mass cancel each market of each account it was bound to, with another key bound there.
- Remove it from every account.
The owner key can cancel only where it is bound, so keep a Reduce Only key bound on another machine in case your main key is lost.
Keys for trading systems
- Keys on an account share one dead-man switch clock; use a sub-account for a separate one.
- A Reduce Only key on your risk server works as a kill switch. Its mass cancel pulls every key's orders in one market of the account; send one per market to clear the account.
- More keys add no rate-limit budget.