Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added revokeSession + add description to getSession #270

Merged
merged 3 commits into from
Sep 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions multichain/openrpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,23 @@ methods:
result:
name: wallet_invokeMethodResult
value: "0x1"
- name: wallet_revokeSession
description: The `wallet_revokeSession` method revokes the entire active session.
params: []
result:
name: wallet_revokeSessionResult
schema:
type: boolean
examples:
- name: wallet_revokeSessionExample
params: []
result:
name: wallet_revokeSessionExampleResult
value: true
errors:
- $ref: "#/components/errors/UnknownError"
- name: wallet_getSession
description: The `wallet_getSession` method returns an active session.
params: []
result:
name: wallet_getSessionResult
Expand Down Expand Up @@ -288,8 +304,7 @@ methods:
sessionProperties:
expiry: "2022-11-31T17:07:31+00:00"
errors:
- code: 5000
message: Unknown error with request
- $ref: "#/components/errors/UnknownError"
- code: 5100
message: Requested networks are not supported
- code: 5101
Expand All @@ -303,6 +318,10 @@ methods:
- code: 5302
message: Invalid sessionProperties requested
components:
errors:
UnknownError:
code: 5000
message: Unknown error with request
schemas:
SessionScopes:
type: object
Expand Down
Loading