Ask for hands-free trading
request_sessionAsk the wallet owner to turn on hands-free trading, so execute_swap works. Returns an approveUrl and a code: give both to the person and ask them to open the link and check the code matches. They approve with one tap in Warden; nothing changes until they do. Then poll session_request_status every few seconds (the request lasts 10 minutes). hours is how long the session lasts. limits is optional and replaces the wallet's daily and per-trade limits in whole dollars; leave it out to keep them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | Yes | ||
| limits | No | ||
| agentName | No |