Skip to main content

Back to overview

OpenRPC Spec

Async dApp API

An OpenRPC specification for remotely hosted Wallet Providers. Due to the remote nature, an implementing provider must bridge certain functionality on the client-side to satisfy the general dApp API spec.

JSON-RPCSince 0.24.0Changed 1.4.0

Methods

Method pages are the primary reference surface. This spec page stays focused on grouping and discovery.
accountsChanged
JSON-RPCSince 0.24.0
connect
JSON-RPCSince 0.24.0

Ensures ledger connectivity and returns the connected network information.

connected
JSON-RPCSince 0.24.0

Informs when the user connects to a network.

disconnect
JSON-RPCSince 0.24.0

Invoke a disconnect of the wallet gateway session.

getActiveNetwork
JSON-RPCSince 0.24.0

Returns the active network.

getPrimaryAccount
JSON-RPCSince 0.24.0

Returns the primary account.

isConnected
JSON-RPCSince 0.26.0

Returns the connection status and the connected network information.

ledgerApi
JSON-RPCSince 0.24.0

Proxy for the JSON-API endpoints. Injects authorization headers automatically.

listAccounts
JSON-RPCSince 0.24.0
messageSignature
JSON-RPCSince 1.4.0
onStatusChanged
JSON-RPCSince 0.24.0
prepareExecute
JSON-RPCSince 0.24.0Changed 1.4.0

Prepares, signs, and executes a transaction.

signMessage
JSON-RPCSince 0.24.0Changed 1.4.0

Requests a message signature. The wallet will prompt the user for confirmation.

status
JSON-RPCSince 0.24.0

Returns the current status of the wallet provider session.

txChanged
JSON-RPCSince 0.24.0