Sync dApp API
OpenRPC Spec
Sync dApp API
An OpenRPC specification for the dapp to interact with a Wallet Provider.
Latest source pathapi-specs/openrpc-dapp-api.json
Publish version1.11.1
OpenRPC version1.2.6
Spec info.version0.5.0
Methods
Method pages are the primary reference surface. This spec page stays focused on grouping and discovery.accountsChanged
JSON-RPC
Parameters0
Resultarray[object]
connect
JSON-RPC
Ensures ledger connectivity and returns the connected network information along with the session information.
Parameters0
Resultobject
isConnected
JSON-RPCAdded 0.26.0
Returns the connection status and the connected network information.
Parameters0
Resultobject
ledgerApi
JSON-RPC
Proxy for the JSON-API endpoints. Injects authorization headers automatically.
Parameters1
Resultobject
listAccounts
JSON-RPC
Lists the addresses (wallets) with their properties; including which network they are associated to and with signing provider is used.
Parameters0
Resultarray[object]
messageSignature
JSON-RPCAdded 1.4.0
Parameters0
ResultoneOf
prepareExecute
JSON-RPCUpdated 1.4.0
Prepares a transaction for subsequent signing & execution.
Parameters1
Resultnull
prepareExecuteAndWait
JSON-RPCUpdated 1.4.0
Like prepareExecute, but waits for the transaction to be executed on the ledger.
Parameters1
Resultobject
txChanged
JSON-RPC
Parameters0
ResultoneOf
History
Updated
1.4.0prepareExecute: The method was updated in this snapshot.
prepareExecuteAndWait: The method was updated in this snapshot.
Added
1.4.0Added
0.26.0