Session Keys
private/set_session_key
Authorizes a new session key for a wallet from a signed action, granting it a set of on-chain (protocol) scopes and off-chain scopes with an expiry, an optional label, an optional IP allowlist, and an optional list of subaccounts it may act on (defaults to all of the wallet's subaccounts). Send the signed action fields (nonce, signer, signature, signature expiry, and module) alongside the requested scopes; the endpoint returns the registered key's public address and its granted scopes, expiry, allowlist, label, and subaccounts.
post/private/set_session_key
Request
- Base URL: https://api.derive.xyz/v3
- URL: https://api.derive.xyz/v3/private/set_session_key
- Auth: none declared
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.