encode
Encodes a Provider.
Encodes a ConnectResult.
Encodes a Network.
Encodes a Session.
Encodes a StatusEvent, nesting the provider, connection, network and session shapes.
Encodes one Wallet.
Encodes SignMessageRequest params.
Encodes a SignMessageResult.
Encodes LedgerApiRequest params; body, query and path are passed through as raw JSON.
Encodes JsPrepareSubmissionRequest params. Empty party and package lists are omitted, not emitted as [].
Encodes a JsPrepareSubmissionResponse.
Encodes a TxChangedEvent: status and commandId always, payload only for signed and executed.
Encodes a MessageSignatureEvent; signature is present only for signed.