Description

MarshalResponse marshals the passed id, result, and RPCError to a JSON-RPC response byte slice that is suitable for transmission to a JSON-RPC client.

MarshalResponse is referenced in 3 repositories

github.com/btcsuite/btcd github.com/btcsuite/btcwallet

...