Skip to content

Commit

Permalink
Merge pull request #1292 from algorandfoundation/automatic-pr-go-algo…
Browse files Browse the repository at this point in the history
…rand-v4.0.2-stable-indexer-3.7.2

Automatic update generated for go-algorand: v4.0.2-stable and indexer: 3.7.2
  • Loading branch information
nullun authored Feb 19, 2025
2 parents daaea69 + aa8f8b7 commit 9f7c950
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .go-algorand-stable.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v4.0.1-stable
v4.0.2-stable
4 changes: 2 additions & 2 deletions docs/get-details/algorand-networks/mainnet.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
title: MainNet

# Version
`v4.0.1-stable`
`v4.0.2-stable`

# Release Version
https://github.com/algorand/go-algorand/releases/tag/v4.0.1-stable
https://github.com/algorand/go-algorand/releases/tag/v4.0.2-stable

# Genesis ID
`mainnet-v1.0`
Expand Down
4 changes: 2 additions & 2 deletions docs/get-details/algorand-networks/testnet.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
title: TestNet

# Version
`v4.0.1-stable`
`v4.0.2-stable`

# Release Version
https://github.com/algorand/go-algorand/releases/tag/v4.0.1-stable
https://github.com/algorand/go-algorand/releases/tag/v4.0.2-stable

# Genesis ID
`testnet-v1.0`
Expand Down
48 changes: 1 addition & 47 deletions docs/rest-apis/algod.md
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ GET /v2/blocks/{round}
|---|---|---|---|
|**Path**|**round** <br>*required*|The round from which to fetch block information.|integer|
|**Query**|**format** <br>*optional*|Configures whether the response object is JSON or MessagePack encoded. If not provided, defaults to JSON.|enum (json, msgpack)|
|**Query**|**header-only** <br>*optional*|If true, only the block header (exclusive of payset or certificate) may be included in response.|boolean|


**Responses**
Expand Down Expand Up @@ -751,53 +752,6 @@ GET /v2/blocks/{round}/hash
* public


<a name="getblockheader"></a>
### GET /v2/blocks/{round}/header
Get the block header for the block on the given round.
```
GET /v2/blocks/{round}/header
```


**Parameters**

|Type|Name|Description|Schema|
|---|---|---|---|
|**Path**|**round** <br>*required*|The round from which to fetch block header information.|integer|
|**Query**|**format** <br>*optional*|Configures whether the response object is JSON or MessagePack encoded. If not provided, defaults to JSON.|enum (json, msgpack)|


**Responses**

|HTTP Code|Description|Schema|
|---|---|---|
|**200**|Block header.|[Response 200](#getblockheader-response-200)|
|**400**|Bad Request - Non integer number|[ErrorResponse](#errorresponse)|
|**401**|Invalid API Token|[ErrorResponse](#errorresponse)|
|**404**|None existing block|[ErrorResponse](#errorresponse)|
|**500**|Internal Error|[ErrorResponse](#errorresponse)|
|**default**|Unknown Error|No Content|

<a name="getblockheader-response-200"></a>
**Response 200**

|Name|Description|Schema|
|---|---|---|
|**blockHeader** <br>*required*|Block header data.|object|


**Produces**

* `application/json`
* `application/msgpack`


**Tags**

* nonparticipating
* public


<a name="getlightblockheaderproof"></a>
### GET /v2/blocks/{round}/lightheader/proof
Gets a proof for a given light block header inside a state proof commitment
Expand Down

0 comments on commit 9f7c950

Please sign in to comment.