Session Keys
public/get_wallets_from_session_key
Changed onPublic 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 URLhttps://api.derive.xyz/v3
- Authnone declared
Request body
Get Wallets From Session Key Request 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
Public Get Wallets From Session Key Response required
wallets, string[] required
Changes
- breaking
removed the enum value
account_infoof the request propertyscope/anyOf[#/components/schemas/OffchainKeyScope] - breaking
the
scope/anyOf[#/components/schemas/OffchainKeyScope]request property type changed fromstringto no type - info
added
subschema #1subschema #2to thescope/anyOf[#/components/schemas/OffchainKeyScope]request propertyoneOflist
- breaking