func (b *Bitcoind) GetBlock(blockHash string) (*GetBlockResult, error) {
	r, err := b.client.call("getblock", []interface{}{blockHash, 2})
	if err = handleError(err, &r); err != nil {
		return nil, err
	}
	result := &GetBlockResult{}
	err = json.Unmarshal(r.Result, &result)

	return result, err
}
// GetBlock returns information about the block with the given hash.
GetBlock returns information about the block with the given hash.
// GetBlock returns information about the block with the given hash .
func (b *Bitcoind) GetBlock(blockHash string) (*GetBlockResult, error) {
	r, err := b.client.call("getblock", []interface{}{blockHash, 2})
	if err = handleError(err, &r); err != nil {
		return nil, err
	}
	result := &GetBlockResult{}
	err = json.Unmarshal(r.Result, &result)
	return result, err
}
func ( b * Bitcoind ) GetBlock ( blockHash string ) ( * GetBlockResult , error ) { r , err := b . client . call ( " " , [ ] interface { } { blockHash , 2 } ) if err = handleError ( err , & r ) ; err != nil { return nil , err } result := & GetBlockResult { } err = json . Unmarshal ( r . Result , & result ) return result , err }
GetBlock returns information about the block with the given hash.
GetBlock returns information about the block with the given hash .