Skip to main content

Documentation Index

Fetch the complete documentation index at: https://cantonfoundation-generated-hydration-fix.mintlify.app/llms.txt

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

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