---
title: "public/get_wallets_from_session_key"
method: POST
path: "/public/get_wallets_from_session_key"
tags: ["Session Keys"]
---

# public/get_wallets_from_session_key

`POST /public/get_wallets_from_session_key`

## Request

- Base URL: `https://api.derive.xyz/v3`
- URL: `https://api.derive.xyz/v3/public/get_wallets_from_session_key`
- Auth: none declared

Public lookup that returns the wallet addresses a given session key is registered to, sorted by expiry, with expired keys omitted. An optional scope filter narrows results to keys holding that off-chain scope; returns an error if no matching, unexpired keys exist.

## Request body

- GetWalletsFromSessionKeyRequest
  - `public_session_key` string, required
  - `scope` union: Additional permission scopes enforced off-chain (not part of the on-chain session-key scopes).
    - 'account_info'
    - 'block_trade': Sign, submit, check or invalidate block trades. RFQ scopes do not cover them.

## Response `200`

Success

- PublicGetWalletsFromSessionKeyResponse
  - `wallets` string[], required

## Other responses

- `default`: JSON-RPC error (see Error Codes)

## Changes

- **2026-11-12** `1daf38a69a7a`: 2 breaking, 1 info
  - removed the enum value `account_info` of the request property `scope/anyOf[#/components/schemas/OffchainKeyScope]/`
  - the `scope/anyOf[#/components/schemas/OffchainKeyScope]/` request property type changed from `string` to no type
  - added `subschema #1, subschema #2` to the `scope/anyOf[#/components/schemas/OffchainKeyScope]/` request property `oneOf` list
- **2026-10-20** `0c500202be49`: 1 info
  - added the media type `application/json` for the response with the status `default`

[Operation history](https://skmtc.dev/lyra/apis/derive-v3-api/changes/public/get_wallets_from_session_key/post.md)

---

[API](https://skmtc.dev/lyra/apis/derive-v3-api.md) - [All operations](https://skmtc.dev/lyra/apis/derive-v3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lyra/apis/derive-v3-api/revisions/415f8a73b10c?raw)
