// Receives pending block for account in wallet.
// Optionally Uses work value for block from external source (>= v8.1).
Receives pending block for account in wallet.
Optionally Uses work value for block from external source (>= v8.1).
// Receives pending block for account in wallet . // Optionally Uses work value for block from external source ( > = v8 . 1 ) .
func ReceiveBlock(wallet, account, block, work string) (string, error) {
	payload := map[string]interface{}{
		"wallet":  wallet,
		"account": account,
		"block":   block,
	}
	if work != "" {
		payload["work"] = work
	}
	return client.fetchString("receive", payload, "block")
}
func ReceiveBlock ( wallet , account , block , work string ) ( string , error ) { payload := map [ string ] interface { } { " " : wallet , " " : account , " " : block , } if work != " " { payload [ " " ] = work } return client . fetchString ( " " , payload , " " ) }
Receives pending block for account in wallet.
Receives pending block for account in wallet .