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.

Methods

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

Ensures ledger connectivity and returns the connected network information.

connected
JSON-RPC

Informs when the user connects to a network.

disconnect
JSON-RPC

Invoke a disconnect of the wallet gateway session.

Returns the active network.

Returns the primary account.

isConnected
JSON-RPCAdded 0.26.0

Returns the connection status and the connected network information.

ledgerApi
JSON-RPC

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

listAccounts
JSON-RPC
messageSignature
JSON-RPCAdded 1.4.0
prepareExecute
JSON-RPCUpdated 1.4.0

Prepares, signs, and executes a transaction.

signMessage
JSON-RPCUpdated 1.4.0

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

status
JSON-RPC

Returns the current status of the wallet provider session.

txChanged
JSON-RPC

History

Updated1.4.0

prepareExecute: The method was updated in this snapshot.

signMessage: description updated; result updated (schema ref, required fields)

Added1.4.0
Added0.26.0