v1

latestOpenAPI 3.1.02026-07-243035381.4 MB
Algorand - Tatum API

Access Algorand Algod GET node endpoints

1 credit per API call

This endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.

Use this endpoint URL as a http-based url to connect directly to the Algorand node provided by Tatum. You can check al available APIs here - https://developer.algorand.org/docs/rest-apis/algod/v2/.
Example call for Get Block is described in the response. https://developer.algorand.org/docs/rest-apis/algod/v2/#get-v2blocksround.
URL used for this call would be

https://api.tatum.io/v3/algorand/node/algod/YOUR\_API\_KEY/v2/blocks/16775567

get/v3/algorand/node/algod/{xApiKey}/{algodPath}

Path parameters

xApiKeystring required
Example:asdlkfjnqunalkwjfnq2oi303294857k

Tatum X-API-Key used for authorization.

algodPathstring required
Example:v2/accounts

** path of algod.

Response

OK

genesisHashstring

hash to which this block belongs

genesisIdstring

ID to which this block belongs

previousBlockHashstring

Previous block hash

rewardsobject

rewards

roundnumber

Current round on which this block was appended to the chain

seedstring

Sortition seed.

timestampnumber

Block creation timestamp in seconds since eposh

txnstring

TransactionsRoot authenticates the set of transactions appearing in the block.

txncnumber

TxnCounter counts the number of transations committed in the ledger

upgradeStateobject

upgrade state

upgradeVoteobject

upgrade vote

Example response

{
  "genesisHash": "SGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiI=",
  "genesisId": "testnet-v1.0",
  "previousBlockHash": "JeLGQTbqnBsD3NXE8Bf1TpPFMFadEVVyHhkcD61ljAU=",
  "rewards": {
    "fee-sink": "A7NMWS3NT3IUDMLVO26ULGXGIIOUQ3ND2TXSER6EBGRZNOBOUIQXHIBGDE",
    "rewards-calculation-round": 17000000,
    "rewards-level": 27521,
    "rewards-pool": "7777777777777777777777777777777777777777777777777774MSJUVU",
    "rewards-rate": 0,
    "rewards-residue": 2020197303
  },
  "round": 16775567,
  "seed": "VPBpyrHyqbfqrHqJ3l39LXGN4qgEdNnE5kpJfk3vJtA=",
  "timestamp": 1632167753,
  "txns": [
    {
      "confirmedRound": 16775567,
      "fee": 0.001,
      "firstValid": 16775565,
      "genesisHash": "SGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiI=",
      "genesisId": "testnet-v1.0",
      "id": "HNIQ76UTJYPOLZP5FWODYABBJPYPGJNEM2QEJSMDMQRWEKHEYJHQ",
      "intraRoundOffset": 1,
      "lastValid": 16775571,
      "note": "cGluZ3Bvbmf0Jyl21QrtLw==",
      "roundTime": 1632167753,
      "sender": "U6QEM4KM7KKGCLH4FELZBGJEVVSF556ELXHUOZC4ESPFS4O4V4VQXKQRXQ",
      "txType": "pay"
    }
  ],
  "txn": "++MWW82yIvYQ0AEoPP0aDGGHGk/dSp5WHlbkf9SVU1U=",
  "txnc": 27814470,
  "upgradeState": {
    "current-protocol": "https://github.com/algorandfoundation/specs/tree/abc54f79f9ad679d2d22f0fb9909fb005c16f8a1",
    "next-protocol-approvals": 0,
    "next-protocol-switch-on": 0,
    "next-protocol-vote-before": 0
  },
  "upgradeVote": {
    "upgrade-approve": false,
    "upgrade-delay": 0
  }
}