Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.canton.network/llms.txt

Use this file to discover all available pages before exploring further.

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.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.

ledgerApi

JSON-RPCSince 0.24.0

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

listAccounts

JSON-RPCSince 0.24.0

onStatusChanged

JSON-RPCSince 0.24.0

prepareExecute

JSON-RPCSince 0.24.0

Prepares, signs, and executes a transaction.

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