Skip to content
Documentation/canton-network-docs/dApp APISync dApp APIView on canton-network-docs
canton-network-docs/dApp APISync dApp API

Details and history

openrpc spec

Sync dApp API

Details and history

An OpenRPC specification for the dapp to interact with a Wallet Provider.

JSON-RPCSince 0.24.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 along with the session information.

disconnect

JSON-RPCSince 0.24.0

Invoke a disconnect of the wallet provider session.

getActiveNetwork

JSON-RPCSince 0.24.0

Returns the active network.

getPrimaryAccount

JSON-RPCSince 0.24.0

Returns the primary account.

ledgerApi

JSON-RPCSince 0.24.0

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

listAccounts

JSON-RPCSince 0.24.0

Lists the addresses (wallets) with their properties; including which network they are associated to and with signing provider is used.

prepareExecute

JSON-RPCSince 0.24.0

Prepares a transaction for subsequent signing & execution.

prepareExecuteAndWait

JSON-RPCSince 0.24.0

Like prepareExecute, but waits for the transaction to be executed on the ledger.

signMessage

JSON-RPCSince 0.24.0

Signs a message.

status

JSON-RPCSince 0.24.0

Returns the current status of the wallet provider session.

txChanged

JSON-RPCSince 0.24.0