use Try::Tiny;
use URL::Encode;
use Circle::Common qw(load_config build_url_template http_json_post http_json_get);
our $VERSION = '0.05';
our @EXPORT = qw(
get_block_hashlist
get_block
get_b
ttp_json_get($url, 0);
}
sub get_block {
my ($hash) = @_;
my $url = _build_url_template(
"blockchainPath",
{
hash => $hash
}
);
return http_json_ge
eaderListPath",
{
baseHeight => $base_height
}
);
return http_json_get($url, 0);
}
sub get_block_data {
my ($hash) = @_;
my $url = _build_url_template(