Blocks
Get current or historical Arweave block information
Get information about the current block.
Get detailed information about the current block on the Arweave network.
Response Body
curl -X GET "https://ardrive.net/current_block"
{
"usd_to_ar_rate": [
"string",
"string"
],
"scheduled_usd_to_ar_rate": [
"string",
"string"
],
"packing_2_5_threshold": "string",
"strict_data_split_threshold": "string",
"nonce": "string",
"previous_block": "string",
"timestamp": 0,
"last_retarget": 0,
"diff": 0,
"height": 0,
"hash": "string",
"txs": [
"string"
],
"tx_root": "string",
"tx_tree": [],
"wallet_list": "string",
"reward_addr": "string",
"tags": [
{
"name": "string",
"value": "string"
}
],
"reward_pool": 0,
"weave_size": 0,
"block_size": 0,
"cumulative_diff": "string",
"hash_list_merkle": "string",
"poa": {
"option": "string",
"tx_path": "string",
"data_path": "string",
"chunk": "string"
}
}
Get current block height.
Gets the current block height of the Arweave network.
Path Parameters
heightstring
Match
^[0-9]+$
Response Body
curl -X GET "https://ardrive.net/block/height/string"
{
"usd_to_ar_rate": [
"string",
"string"
],
"scheduled_usd_to_ar_rate": [
"string",
"string"
],
"packing_2_5_threshold": "string",
"strict_data_split_threshold": "string",
"nonce": "string",
"previous_block": "string",
"timestamp": 0,
"last_retarget": 0,
"diff": 0,
"height": 0,
"hash": "string",
"txs": [
"string"
],
"tx_root": "string",
"tx_tree": [],
"wallet_list": "string",
"reward_addr": "string",
"tags": [
{
"name": "string",
"value": "string"
}
],
"reward_pool": 0,
"weave_size": 0,
"block_size": 0,
"cumulative_diff": "string",
"hash_list_merkle": "string",
"poa": {
"option": "string",
"tx_path": "string",
"data_path": "string",
"chunk": "string"
}
}
Get block by hash.
Get block information based on a block's hash.
Path Parameters
hashstring
Match
^[0-9a-zA-Z_-]{64}$
Response Body
curl -X GET "https://ardrive.net/block/hash/string"
{
"usd_to_ar_rate": [
"string",
"string"
],
"scheduled_usd_to_ar_rate": [
"string",
"string"
],
"packing_2_5_threshold": "string",
"strict_data_split_threshold": "string",
"nonce": "string",
"previous_block": "string",
"timestamp": 0,
"last_retarget": 0,
"diff": 0,
"height": 0,
"hash": "string",
"txs": [
"string"
],
"tx_root": "string",
"tx_tree": [],
"wallet_list": "string",
"reward_addr": "string",
"tags": [
{
"name": "string",
"value": "string"
}
],
"reward_pool": 0,
"weave_size": 0,
"block_size": 0,
"cumulative_diff": "string",
"hash_list_merkle": "string",
"poa": {
"option": "string",
"tx_path": "string",
"data_path": "string",
"chunk": "string"
}
}
Alternative endpoint to get current block.
Alternative endpoint to /current_block
, gets current block information.
Response Body
curl -X GET "https://ardrive.net/block/current"
{
"usd_to_ar_rate": [
"string",
"string"
],
"scheduled_usd_to_ar_rate": [
"string",
"string"
],
"packing_2_5_threshold": "string",
"strict_data_split_threshold": "string",
"nonce": "string",
"previous_block": "string",
"timestamp": 0,
"last_retarget": 0,
"diff": 0,
"height": 0,
"hash": "string",
"txs": [
"string"
],
"tx_root": "string",
"tx_tree": [],
"wallet_list": "string",
"reward_addr": "string",
"tags": [
{
"name": "string",
"value": "string"
}
],
"reward_pool": 0,
"weave_size": 0,
"block_size": 0,
"cumulative_diff": "string",
"hash_list_merkle": "string",
"poa": {
"option": "string",
"tx_path": "string",
"data_path": "string",
"chunk": "string"
}
}
How is this guide?