View definition

func NewGetBlockTemplateCmd

Defined in github.com/btcsuite/btcd/btcjson/chainsvrcmds.go

Description

NewGetBlockTemplateCmd returns a new instance which can be used to issue a getblocktemplate JSON-RPC command.

The parameters which are pointers indicate they are optional. Passing nil for optional parameters will use the default value.

NewGetBlockTemplateCmd is referenced in 1 repository

github.com/btcsuite/btcd