Package-level declarations
Types
Result of DappMethod.CONNECT and DappMethod.IS_CONNECTED.
The dApp side of CIP-0103: typed calls onto a DappTransport.
The error codes CIP-0103 inherits from EIP-1474 / EIP-1193.
A CIP-0103 error, thrown by DappClient when the wallet returns one and by the wallet-side engine to produce one.
Every method in OpenRPC 0.5.0, request and event alike.
OpenRPC Network. networkId is a CAIP-2 identifier, e.g. canton:da-mainnet.
The wallet, as advertised to a dApp. OpenRPC Provider.
Where the wallet kernel runs. OpenRPC Provider.providerType; wire is the JSON spelling.
What a transport knows about an inbound request beyond the frame itself.
The wallet-side counterpart of DappTransport: something that answers JSON-RPC frames and emits events.
OpenRPC Session. Named …Info here because DappSession is the wallet-side engine in :canton-dapp-wallet, and one of the two had to give way.
The exact bytes a signMessage request signs — and the reason they are not simply the message's bytes.
Result of DappMethod.STATUS. OpenRPC StatusEvent.
Moves JSON-RPC frames between a dApp and a wallet.
One account. OpenRPC calls this Wallet, which is confusing in a codebase where "wallet" is the application — but the wire name is what it is, and renaming the type would not rename the JSON.
Where an account is in its lifecycle. OpenRPC Wallet.status; wire is the JSON spelling.
The error member of a JSON-RPC response.
A JSON-RPC 2.0 request or notification.
HTTP method of a proxied LedgerApiRequest. wire is the lowercase JSON spelling.
Params of DappMethod.LEDGER_API — the wallet acting as an authenticating proxy onto the JSON Ledger API.
Lifecycle of one signMessage request, as delivered by messageSignature.
Params of DappMethod.PREPARE_EXECUTE and DappMethod.PREPARE_EXECUTE_AND_WAIT. OpenRPC JsPrepareSubmissionRequest.
OpenRPC JsPrepareSubmissionResponse. Both fields are optional in the CIP and both are strings — preparedTransaction is base64 of the serialized PreparedTransaction protobuf, which is what lets a wallet recompute the hash over the exact bytes the participant produced.
Params of DappMethod.SIGN_MESSAGE.
Result of DappMethod.SIGN_MESSAGE.
Lifecycle of one submission, as delivered by the txChanged event and returned (in its executed form) by prepareExecuteAndWait.