Session Keys

public/get_wallets_from_session_key

Changed on

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.

post/public/get_wallets_from_session_key

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    none declared

Request body

GetWalletsFromSessionKeyRequest required
public_session_key, string required
scope, union

Additional permission scopes enforced off-chain (not part of the on-chain session-key scopes).

Response

Success

PublicGetWalletsFromSessionKeyResponse required
wallets, string[] required

Changes

    • breaking

      removed the enum value account_info of the request property scope/anyOf[#/components/schemas/OffchainKeyScope]

    • breaking

      the scope/anyOf[#/components/schemas/OffchainKeyScope] request property type changed from string to no type

    • info

      added subschema #1 subschema #2 to the scope/anyOf[#/components/schemas/OffchainKeyScope] request property oneOf list