// Retrieves a json representations of blocks with transaction
// amount & block account.
// Additionally checks if block is pending, returns source account
// for receive & open blocks (0 for send & change blocks) (>= v8.1).
Retrieves a json representations of blocks with transaction
amount & block account.
Additionally checks if block is pending, returns source account
for receive & open blocks (0 for send & change blocks) (>= v8.1).
// Retrieves a json representations of blocks with transaction // amount & block account . // Additionally checks if block is pending returns source account // for receive & open blocks ( 0 for send & change blocks ) ( > = v8 . 1 ) .
func BlocksInfo(hashes []string, pending, source bool) (map[string]interface{}, error) {
	payload := map[string]interface{}{
		"hashes":  hashes,
		"pending": pending,
		"source":  source,
	}
	return client.fetchMapInterface("blocks_info", payload, "blocks")
}
func BlocksInfo ( hashes [ ] string , pending , source bool ) ( map [ string ] interface { } , error ) { payload := map [ string ] interface { } { " " : hashes , " " : pending , " " : source , } return client . fetchMapInterface ( " " , payload , " " ) }
Retrieves a json representations of blocks with transaction
amount & block account.
Retrieves a json representations of blocks with transaction amount & block account .