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

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

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

[Back to overview](https://docs.canton.network/reference/wallet-gateway-json-rpc/overview.md)

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

[Added 1.4.0](#history-added-1-4-0)

[Updated 1.12.0](#history-updated-1-12-0)

Latest source path
api-specs/openrpc-dapp-remote-api.json

Publish version
1.16.0

OpenRPC version
1.2.6

Spec info.version
0.1.0

## Methods

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

[accountsChanged](https://docs.canton.network/reference/wallet-gateway-json-rpc/operations/dapp-remote-api/accountschanged.md)

JSON-RPC

Parameters
0

Result
array\[object]

[connect](https://docs.canton.network/reference/wallet-gateway-json-rpc/operations/dapp-remote-api/connect.md)

JSON-RPC

Ensures ledger connectivity and returns the connected network information.

Parameters
0

Result
object

[connected](https://docs.canton.network/reference/wallet-gateway-json-rpc/operations/dapp-remote-api/connected.md)

JSON-RPC

Updated 1.12.0

Informs when the user connects to a network.

Parameters
0

Result
object

[disconnect](https://docs.canton.network/reference/wallet-gateway-json-rpc/operations/dapp-remote-api/disconnect.md)

JSON-RPC

Invoke a disconnect of the wallet gateway session.

Parameters
0

Result
null

[getActiveNetwork](https://docs.canton.network/reference/wallet-gateway-json-rpc/operations/dapp-remote-api/getactivenetwork.md)

JSON-RPC

Returns the active network.

Parameters
0

Result
object

[getPrimaryAccount](https://docs.canton.network/reference/wallet-gateway-json-rpc/operations/dapp-remote-api/getprimaryaccount.md)

JSON-RPC

Returns the primary account.

Parameters
0

Result
object

[isConnected](https://docs.canton.network/reference/wallet-gateway-json-rpc/operations/dapp-remote-api/isconnected.md)

JSON-RPC

Added 0.26.0

Returns the connection status and the connected network information.

Parameters
0

Result
object

[ledgerApi](https://docs.canton.network/reference/wallet-gateway-json-rpc/operations/dapp-remote-api/ledgerapi.md)

JSON-RPC

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

Parameters
1

Result
object

[listAccounts](https://docs.canton.network/reference/wallet-gateway-json-rpc/operations/dapp-remote-api/listaccounts.md)

JSON-RPC

Parameters
0

Result
array\[object]

[messageSignature](https://docs.canton.network/reference/wallet-gateway-json-rpc/operations/dapp-remote-api/messagesignature.md)

JSON-RPC

Added 1.4.0

Parameters
0

Result
oneOf

[onStatusChanged](https://docs.canton.network/reference/wallet-gateway-json-rpc/operations/dapp-remote-api/onstatuschanged.md)

JSON-RPC

Updated 1.12.0

Parameters
0

Result
object

[prepareExecute](https://docs.canton.network/reference/wallet-gateway-json-rpc/operations/dapp-remote-api/prepareexecute.md)

JSON-RPC

Updated 1.4.0

Prepares, signs, and executes a transaction.

Parameters
1

Result
object

[signMessage](https://docs.canton.network/reference/wallet-gateway-json-rpc/operations/dapp-remote-api/signmessage.md)

JSON-RPC

Updated 1.4.0

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

Parameters
1

Result
object

[status](https://docs.canton.network/reference/wallet-gateway-json-rpc/operations/dapp-remote-api/status.md)

JSON-RPC

Updated 1.12.0

Returns the current status of the wallet provider session.

Parameters
0

Result
object

[txChanged](https://docs.canton.network/reference/wallet-gateway-json-rpc/operations/dapp-remote-api/txchanged.md)

JSON-RPC

Parameters
0

Result
oneOf

## History

Updated
`1.12.0`

connected: The method was updated in this snapshot.

onStatusChanged: The method was updated in this snapshot.

status: The method was updated in this snapshot.

Updated
`1.4.0`

prepareExecute: The method was updated in this snapshot.

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

Added
`1.4.0`

Added
`0.26.0`
