Algod REST API
GetBlock provides fast and reliable access to Algorand nodes via the Algod REST API. Connect to the Algorand network without running your own infrastructure.
The complete algod REST interface for Algorand, generated from the official OpenAPI specification. Endpoints marked (dedicated) are node-administration or diagnostic operations not served on GetBlock shared endpoints.
Endpoints
GetConfig (dedicated) —
GET /debug/settings/config— Gets the merged config file.GetDebugSettingsProf (dedicated) —
GET /debug/settings/pprof— GetDebugSettingsProfPutDebugSettingsProf (dedicated) —
PUT /debug/settings/pprof— PutDebugSettingsProfGetGenesis —
GET /genesis— Gets the genesis information.HealthCheck —
GET /health— Returns OK if healthy.Metrics (dedicated) —
GET /metrics— Return metrics about algod functioning.GetReady —
GET /ready— Returns OK if healthy and fully caught up.SwaggerJSON (dedicated) —
GET /swagger.json— Gets the current swagger spec.AccountInformation —
GET /v2/accounts/{address}— Get account information.AccountApplicationsInformation —
GET /v2/accounts/{address}/applications— Get a list of applications held by an account.AccountApplicationInformation —
GET /v2/accounts/{address}/applications/{application-id}— Get account information about a given app.AccountAssetsInformation —
GET /v2/accounts/{address}/assets— Get a list of assets held by an account, inclusive of asset params.AccountAssetInformation —
GET /v2/accounts/{address}/assets/{asset-id}— Get account information about a given asset.GetPendingTransactionsByAddress —
GET /v2/accounts/{address}/transactions/pending— Get a list of unconfirmed transactions currently in the transaction pool by address.GetApplicationByID —
GET /v2/applications/{application-id}— Get application information.GetApplicationBoxByName —
GET /v2/applications/{application-id}/box— Get box information for a given application.GetApplicationBoxes —
GET /v2/applications/{application-id}/boxes— Get all box names for a given application.GetAssetByID —
GET /v2/assets/{asset-id}— Get asset information.GetBlock —
GET /v2/blocks/{round}— Get the block for the given round.GetBlockHash —
GET /v2/blocks/{round}/hash— Get the block hash for the block on the given round.GetLightBlockHeaderProof —
GET /v2/blocks/{round}/lightheader/proof— Gets a proof for a given light block header inside a state proof commitmentGetBlockLogs —
GET /v2/blocks/{round}/logs— Get all of the logs from outer and inner app calls in the given roundGetTransactionProof —
GET /v2/blocks/{round}/transactions/{txid}/proof— Get a proof for a transaction in a block.GetBlockTxids —
GET /v2/blocks/{round}/txids— Get the top level transaction IDs for the block on the given round.AbortCatchup (dedicated) —
DELETE /v2/catchup/{catchpoint}— Aborts a catchpoint catchup.StartCatchup (dedicated) —
POST /v2/catchup/{catchpoint}— Starts a catchpoint catchup.GetLedgerStateDeltaForTransactionGroup —
GET /v2/deltas/txn/group/{id}— Get a LedgerStateDelta object for a given transaction groupGetLedgerStateDelta —
GET /v2/deltas/{round}— Get a LedgerStateDelta object for a given roundGetTransactionGroupLedgerStateDeltasForRound —
GET /v2/deltas/{round}/txn/group— Get LedgerStateDelta objects for all transaction groups in a given roundGetBlockTimeStampOffset (dedicated) —
GET /v2/devmode/blocks/offset— Returns the timestamp offset. Timestamp offsets can only be set in dev mode.SetBlockTimeStampOffset (dedicated) —
POST /v2/devmode/blocks/offset/{offset}— Given a timestamp offset in seconds, adds the offset to every subsequent block header's timestamp.ExperimentalCheck —
GET /v2/experimental— Returns OK if experimental API is enabled.GetSupply —
GET /v2/ledger/supply— Get the current supply reported by the ledger.UnsetSyncRound (dedicated) —
DELETE /v2/ledger/sync— Removes minimum sync round restriction from the ledger.GetSyncRound (dedicated) —
GET /v2/ledger/sync— Returns the minimum sync round the ledger is keeping in cache.SetSyncRound (dedicated) —
POST /v2/ledger/sync/{round}— Given a round, tells the ledger to keep that round in its cache.GetPeers —
GET /v2/node/peers— GetPeersShutdownNode2 —
POST /v2/node/shutdown— ShutdownNode2GetParticipationKeys (dedicated) —
GET /v2/participation— Return a list of participation keysAddParticipationKey (dedicated) —
POST /v2/participation— Add a participation key to the nodeGenerateParticipationKeys (dedicated) —
POST /v2/participation/generate/{address}— Generate and install participation keys to the node.DeleteParticipationKeyByID (dedicated) —
DELETE /v2/participation/{participation-id}— Delete a given participation key by IDGetParticipationKeyByID (dedicated) —
GET /v2/participation/{participation-id}— Get participation key info given a participation IDAppendKeys (dedicated) —
POST /v2/participation/{participation-id}— Append state proof keys to a participation keyShutdownNode (dedicated) —
POST /v2/shutdown— ShutdownNodeGetStateProof —
GET /v2/stateproofs/{round}— Get a state proof that covers a given roundGetStatus —
GET /v2/status— Gets the current node status.WaitForBlock —
GET /v2/status/wait-for-block-after/{round}— Gets the node status after waiting for a round after the given round.TealCompile —
POST /v2/teal/compile— Compile TEAL source code to binary, produce its hashTealDisassemble —
POST /v2/teal/disassemble— Disassemble program bytes into the TEAL source code.RawTransaction —
POST /v2/transactions— Broadcasts a raw transaction or transaction group to the network.RawTransactionAsync —
POST /v2/transactions/async— Fast track for broadcasting a raw transaction or transaction group to the network through the tx handler without performing most of the checks and reporting detailed errors. Should be only used for development and performance testing.TransactionParams —
GET /v2/transactions/params— Get parameters for constructing a new transactionGetPendingTransactions —
GET /v2/transactions/pending— Get a list of unconfirmed transactions currently in the transaction pool.PendingTransactionInformation —
GET /v2/transactions/pending/{txid}— Get a specific pending transaction.SimulateTransaction —
POST /v2/transactions/simulate— Simulates a raw transaction or transaction group as it would be evaluated on the network. The simulation will use blockchain state from the latest committed round.GetVersion —
GET /versions— GetVersion
OpenAPI
The machine-readable specification is included as algod-openapi.yaml.
Support
Support: support@getblock.io
Last updated
Was this helpful?