Companion
object Companion
Constructors for the two shapes a response can take, plus the decoder.
Functions
Link copied to clipboard
Parses one response frame. Only the error member is validated here; result is kept raw for the typed decoders in DappJson.
Link copied to clipboard
A failed response whose error body is built from exception by JsonRpcErrorBody.from.
A failed response carrying error verbatim.
Link copied to clipboard
A successful response. A null result is emitted as JSON null.