When you click “connect wallet” on a DeFi or perp DEX site, you will see one of two core prompt types from your wallet software. It is critical to tell them apart before clicking confirm.
A message signature (often labeled “Sign In With Ethereum” or “SIWE”) is a cryptographic proof that you control the wallet address. It costs no gas, makes no changes to on-chain state, and grants the site no permissions to move funds or act on your behalf. It is the equivalent of showing a bouncer your ID to prove you are on the list — you are not handing over your keys. If you only sign a message, the site can view your public address and transaction history, but cannot take any action with your assets.
An approval or authorisation transaction is an on-chain action that costs gas and permanently (until revoked) grants a third party permission to take specific actions on your behalf. This is the prompt that carries risk, because the scope of permission can vary widely. A common example is an ERC20 “approve” transaction, which lets a smart contract pull tokens from your wallet up to a set limit. For perp DEXes, a common authorisation is adding an agent key to your DEX account.
Never approve a transaction if you cannot clearly see what permissions are being granted, or if the prompt is from a site you do not trust.
| Prompt type | Gas cost? | On-chain state change? | Permissions granted? |
|---|---|---|---|
| Message signature | No | No | None — only proves address ownership |
| Approval / authorisation transaction | Yes | Yes | Varies — can include fund transfers, trading access, or full control |
Many non-custodial perp DEXes use an agent key system to let third-party interfaces, trading tools, or automation platforms act on your account without giving them full access to your wallet. An agent key is a limited, permissioned signer that is tied only to your DEX account, not your entire wallet.
When an agent key is authorised with withdrawals explicitly excluded from its scope, its capabilities are strictly bounded by the DEX’s on-chain smart contract rules.
What an agent key can do (if trading permissions are enabled):
What an agent key cannot do, when withdrawals are disabled:
Trending uses this exact model: the agent key is authorised on your Hyperliquid account with withdrawals disabled, so funds stay in your own Hyperliquid account. The 0.02% builder fee is shown before every trade confirmation and is verifiable on-chain, so you never pay an unlisted fee.
Even with withdrawal permissions disabled, an agent key with trading access can still open or close positions that result in trading losses. You remain fully exposed to all market risk of positions the agent executes on your behalf. If you do not trust the party controlling the agent key to trade responsibly, you should not grant the permission. If you prefer to sign every trade individually, trading directly on the DEX’s native interface is a better fit.
Many trading sites claim to be non-custodial, but the label only means something if you can verify it yourself on-chain. A truly non-custodial perp DEX holds your funds in a smart contract account that you control via your main wallet, not in a company-owned wallet or internal database.
You can verify control of your funds in three concrete steps, no trust required:
For context, custodial platforms cannot pass this check: your funds are held in the platform’s own wallets, and you have no way to verify their internal accounting. With a non-custodial DEX, the blockchain is the single source of truth for who owns your funds and what permissions are active.
Trending’s setup meets this verifiability standard: your funds never leave your own Hyperliquid account, the agent key’s no-withdrawal scope is recorded on Hyperliquid’s on-chain state, and the 0.02% builder fee is auditable on every trade.
You do not have to rely on a third-party trading tool to remove its own access. Agent key permissions are managed directly on the DEX’s own system, so you can review or revoke them at any time, even if the third-party site is offline or unresponsive.
The exact steps vary slightly by DEX, but the general process is:
A few important notes:
Trending — visual perpetual trading. Home · how to trade perpetual contracts · trending vs hyperliquid · 5 tips for simpler trading
Trending does not provide investment advice. Trading perpetual contracts involves market and leverage risk. You are responsible for wallet safety and local regulatory compliance.