Description

MarshalCmd marshals the passed command to a JSON-RPC request byte slice that is suitable for transmission to an RPC server. The provided command type must be a registered type. All commands provided by this package are registered by default.

MarshalCmd is referenced in 3 repositories

github.com/btcsuite/btcd github.com/btcsuite/btcrpcclient

...