GetBlockLogs - Algorand

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

Endpoint

httpGET /v2/blocks/{round}/logs

Path Parameters

ParameterTypeRequiredDescription
roundintegerYesA round number.

Example

bashexport ALGO_ALGOD=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${ALGO_ALGOD}v2/blocks/REPLACE_ROUND/logs"

Response

Returns application/json. Top-level fields:

FieldTypeDescription
logsarray—

Error Handling

ErrorMessageDescription
400Bad requestA parameter was missing or malformed
404Not foundThe requested resource does not exist
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect