Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

staging => master #1262

Merged
merged 2 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .go-algorand-stable.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.23.1-stable
v3.24.0-stable
2 changes: 0 additions & 2 deletions docs/clis/algokey/generate.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ algokey generate [flags]

```

--discreet Print mnemonic discreetly to an alternate screen

-h, --help help for generate

-f, --keyfile string Private key filename
Expand Down
1 change: 1 addition & 0 deletions docs/clis/goal/account/account.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ goal account [flags]

* [goal](../../../goal/goal/) - CLI for interacting with Algorand
* [goal account addpartkey](../addpartkey/) - Generate and install participation key for the specified account
* [goal account assetdetails](../assetdetails/) - Retrieve information about the assets belonging to the specified account inclusive of asset metadata
* [goal account balance](../balance/) - Retrieve the balances for the specified account
* [goal account changeonlinestatus](../changeonlinestatus/) - Change online status for the specified account
* [goal account delete](../delete/) - Delete an account
Expand Down
68 changes: 68 additions & 0 deletions docs/clis/goal/account/assetdetails.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
title: goal account assetdetails
---
## goal account assetdetails



Retrieve information about the assets belonging to the specified account inclusive of asset metadata



### Synopsis



Retrieve information about the assets the specified account has created or opted into, inclusive of asset metadata.



```

goal account assetdetails [flags]

```



### Options



```

-a, --address string Account address to look up (required)

-h, --help help for assetdetails

-l, --limit uint The maximum number of assets to return

-n, --next string The next asset index to use for pagination

```



### Options inherited from parent commands



```

-d, --datadir stringArray Data directory for the node

-k, --kmddir string Data directory for kmd

-w, --wallet string Set the wallet to be used for the selected operation

```



### SEE ALSO



* [goal account](../../account/account/) - Control and manage Algorand accounts



2 changes: 1 addition & 1 deletion docs/clis/goal/account/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ goal account info [flags]

-h, --help help for info

--onlyShowAssetIds Only show ASA IDs and not pull asset metadata
--onlyShowAssetIDs Only show ASA IDs and not pull asset metadata

```

Expand Down
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
`v3.23.1-stable`
`v3.24.0-stable`

# Release Version
https://github.com/algorand/go-algorand/releases/tag/v3.23.1-stable
https://github.com/algorand/go-algorand/releases/tag/v3.24.0-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
`v3.23.1-stable`
`v3.24.0-stable`

# Release Version
https://github.com/algorand/go-algorand/releases/tag/v3.23.1-stable
https://github.com/algorand/go-algorand/releases/tag/v3.24.0-stable

# Genesis ID
`testnet-v1.0`
Expand Down
126 changes: 126 additions & 0 deletions docs/rest-apis/algod.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,58 @@ Given a specific account public key and application ID, this call returns the ac
* public


<a name="accountassetsinformation"></a>
### GET /v2/accounts/{address}/assets
Get a list of assets held by an account, inclusive of asset params.
```
GET /v2/accounts/{address}/assets
```


**Description**
Lookup an account's asset holdings.


**Parameters**

|Type|Name|Description|Schema|
|---|---|---|---|
|**Path**|**address** <br>*required*|An account public key|string|
|**Query**|**limit** <br>*optional*|Maximum number of results to return.|integer|
|**Query**|**next** <br>*optional*|The next page of results. Use the next token provided by the previous results.|string|


**Responses**

|HTTP Code|Description|Schema|
|---|---|---|
|**200**|AccountAssetsInformationResponse contains a list of assets held by an account.|[Response 200](#accountassetsinformation-response-200)|
|**400**|Malformed address|[ErrorResponse](#errorresponse)|
|**401**|Invalid API Token|[ErrorResponse](#errorresponse)|
|**500**|Internal Error|[ErrorResponse](#errorresponse)|
|**default**|Unknown Error|No Content|

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

|Name|Description|Schema|
|---|---|---|
|**asset-holdings** <br>*optional*||< [AccountAssetHolding](#accountassetholding) > array|
|**next-token** <br>*optional*|Used for pagination, when making another request provide this token with the next parameter.|string|
|**round** <br>*required*|The round for which this information is relevant.|integer|


**Produces**

* `application/json`


**Tags**

* experimental
* public


<a name="accountassetinformation"></a>
### GET /v2/accounts/{address}/assets/{asset-id}
Get account information about a given asset.
Expand Down Expand Up @@ -660,6 +712,54 @@ GET /v2/blocks/{round}/lightheader/proof
* public


<a name="getblocklogs"></a>
### GET /v2/blocks/{round}/logs
Get all of the logs from outer and inner app calls in the given round
```
GET /v2/blocks/{round}/logs
```


**Description**
Get all of the logs from outer and inner app calls in the given round


**Parameters**

|Type|Name|Description|Schema|
|---|---|---|---|
|**Path**|**round** <br>*required*|The round from which to fetch block log information.|integer|


**Responses**

|HTTP Code|Description|Schema|
|---|---|---|
|**200**|All logs emitted in the given round. Each app call, whether top-level or inner, that contains logs results in a separate AppCallLogs object. Therefore there may be multiple AppCallLogs with the same application ID and outer transaction ID in the event of multiple inner app calls to the same app. App calls with no logs are not included in the response. AppCallLogs are returned in the same order that their corresponding app call appeared in the block (pre-order traversal of inner app calls)|[Response 200](#getblocklogs-response-200)|
|**400**|Bad Request - Non integer number|[ErrorResponse](#errorresponse)|
|**401**|Invalid API Token|[ErrorResponse](#errorresponse)|
|**404**|Nonexistent block|[ErrorResponse](#errorresponse)|
|**500**|Internal Error|[ErrorResponse](#errorresponse)|

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

|Name|Schema|
|---|---|
|**logs** <br>*required*|< [AppCallLogs](#appcalllogs) > array|


**Produces**

* `application/json`


**Tags**

* nonparticipating
* public


<a name="gettransactionproof"></a>
### GET /v2/blocks/{round}/transactions/{txid}/proof
Get a proof for a transaction in a block.
Expand Down Expand Up @@ -2212,6 +2312,9 @@ data/basics/userBalance.go : AccountData
|**auth-addr** <br>*optional*|\[spend\] the address against which signing should be checked. If empty, the address of the current account is used. This field can be updated in any transaction by setting the RekeyTo field.|string|
|**created-apps** <br>*optional*|\[appp\] parameters of applications created by this account including app global data.<br><br>Note: the raw account uses `map[int] -> AppParams` for this type.|< [Application](#application) > array|
|**created-assets** <br>*optional*|\[apar\] parameters of assets created by this account.<br><br>Note: the raw account uses `map[int] -> Asset` for this type.|< [Asset](#asset) > array|
|**incentive-eligible** <br>*optional*|Whether or not the account can receive block incentives if its balance is in range at proposal time.|boolean|
|**last-heartbeat** <br>*optional*|The round in which this account last went online, or explicitly renewed their online status.|integer|
|**last-proposed** <br>*optional*|The round in which this account last proposed the block.|integer|
|**min-balance** <br>*required*|MicroAlgo balance required by the account.<br><br>The requirement grows based on asset and application usage.|integer|
|**participation** <br>*optional*||[AccountParticipation](#accountparticipation)|
|**pending-rewards** <br>*required*|amount of MicroAlgos of pending rewards in this account.|integer|
Expand All @@ -2228,6 +2331,17 @@ data/basics/userBalance.go : AccountData
|**total-created-assets** <br>*required*|The count of all assets (AssetParams objects) created by this account.|integer|


<a name="accountassetholding"></a>
### AccountAssetHolding
AccountAssetHolding describes the account's asset holding and asset parameters (if either exist) for a specific asset ID.


|Name|Description|Schema|
|---|---|---|
|**asset-holding** <br>*required*|\[asset\] Details about the asset held by this account.<br><br>The raw account uses `AssetHolding` for this type.|[AssetHolding](#assetholding)|
|**asset-params** <br>*optional*|\[apar\] parameters of the asset held by this account.<br><br>The raw account uses `AssetParams` for this type.|[AssetParams](#assetparams)|


<a name="accountparticipation"></a>
### AccountParticipation
AccountParticipation describes the parameters used by this account in consensus protocol.
Expand All @@ -2254,6 +2368,18 @@ Application state delta.
|**delta** <br>*required*|[StateDelta](#statedelta)|


<a name="appcalllogs"></a>
### AppCallLogs
The logged messages from an app call along with the app ID and outer transaction ID. Logs appear in the same order that they were emitted.


|Name|Description|Schema|
|---|---|---|
|**application-index** <br>*required*|The application from which the logs were generated|integer|
|**logs** <br>*required*|An array of logs|< string (byte) > array|
|**txId** <br>*required*|The transaction ID of the outer app call that lead to these logs|string|


<a name="application"></a>
### Application
Application index and its parameters
Expand Down
Loading