Blocks

get

Lookup block.

Path parameters
round-numberintegerRequired

Round number

Query parameters
header-onlybooleanOptional

Header only flag. When this is set to true, returned block does not contain the transactions

Responses
200
(empty)
application/json
get
GET /v2/blocks/{round-number} HTTP/1.1
Host: algo-index.nownodes.io
Accept: */*
{
  "genesis-hash": "Ynl0ZXM=",
  "genesis-id": "text",
  "participation-updates": {
    "expired-participation-accounts": [
      "text"
    ]
  },
  "previous-block-hash": "Ynl0ZXM=",
  "rewards": {
    "fee-sink": "text",
    "rewards-calculation-round": 1,
    "rewards-level": 1,
    "rewards-pool": "text",
    "rewards-rate": 1,
    "rewards-residue": 1
  },
  "round": 1,
  "seed": "Ynl0ZXM=",
  "state-proof-tracking": [
    {
      "next-round": 1,
      "online-total-weight": 1,
      "type": 1,
      "voters-commitment": "Ynl0ZXM="
    }
  ],
  "timestamp": 1,
  "transactions": [
    {
      "application-transaction": {
        "accounts": [
          "text"
        ],
        "application-args": [
          "text"
        ],
        "application-id": 1,
        "approval-program": "Ynl0ZXM=",
        "clear-state-program": "Ynl0ZXM=",
        "extra-program-pages": 1,
        "foreign-apps": [
          1
        ],
        "foreign-assets": [
          1
        ],
        "global-state-schema": {
          "num-byte-slice": 1,
          "num-uint": 1
        },
        "local-state-schema": {
          "num-byte-slice": 1,
          "num-uint": 1
        },
        "on-completion": "noop"
      },
      "asset-config-transaction": {
        "asset-id": 1,
        "params": {
          "clawback": "text",
          "creator": "text",
          "decimals": 1,
          "default-frozen": true,
          "freeze": "text",
          "manager": "text",
          "metadata-hash": "Ynl0ZXM=",
          "name": "text",
          "name-b64": "Ynl0ZXM=",
          "reserve": "text",
          "total": 1,
          "unit-name": "text",
          "unit-name-b64": "Ynl0ZXM=",
          "url": "text",
          "url-b64": "Ynl0ZXM="
        }
      },
      "asset-freeze-transaction": {
        "address": "text",
        "asset-id": 1,
        "new-freeze-status": true
      },
      "asset-transfer-transaction": {
        "amount": 1,
        "asset-id": 1,
        "close-amount": 1,
        "close-to": "text",
        "receiver": "text",
        "sender": "text"
      },
      "auth-addr": "text",
      "close-rewards": 1,
      "closing-amount": 1,
      "confirmed-round": 1,
      "created-application-index": 1,
      "created-asset-index": 1,
      "fee": 1,
      "first-valid": 1,
      "genesis-hash": "Ynl0ZXM=",
      "genesis-id": "text",
      "global-state-delta": [
        {
          "key": "text",
          "value": {
            "action": 1,
            "bytes": "text",
            "uint": 1
          }
        }
      ],
      "group": "Ynl0ZXM=",
      "id": "text",
      "inner-txns": [
        {
          "application-transaction": {
            "accounts": [
              "text"
            ],
            "application-args": [
              "text"
            ],
            "application-id": 1,
            "approval-program": "Ynl0ZXM=",
            "clear-state-program": "Ynl0ZXM=",
            "extra-program-pages": 1,
            "foreign-apps": [
              1
            ],
            "foreign-assets": [
              1
            ],
            "global-state-schema": {
              "num-byte-slice": 1,
              "num-uint": 1
            },
            "local-state-schema": {
              "num-byte-slice": 1,
              "num-uint": 1
            },
            "on-completion": "noop"
          },
          "asset-config-transaction": {
            "asset-id": 1,
            "params": {
              "clawback": "text",
              "creator": "text",
              "decimals": 1,
              "default-frozen": true,
              "freeze": "text",
              "manager": "text",
              "metadata-hash": "Ynl0ZXM=",
              "name": "text",
              "name-b64": "Ynl0ZXM=",
              "reserve": "text",
              "total": 1,
              "unit-name": "text",
              "unit-name-b64": "Ynl0ZXM=",
              "url": "text",
              "url-b64": "Ynl0ZXM="
            }
          },
          "asset-freeze-transaction": {
            "address": "text",
            "asset-id": 1,
            "new-freeze-status": true
          },
          "asset-transfer-transaction": {
            "amount": 1,
            "asset-id": 1,
            "close-amount": 1,
            "close-to": "text",
            "receiver": "text",
            "sender": "text"
          },
          "auth-addr": "text",
          "close-rewards": 1,
          "closing-amount": 1,
          "confirmed-round": 1,
          "created-application-index": 1,
          "created-asset-index": 1,
          "fee": 1,
          "first-valid": 1,
          "genesis-hash": "Ynl0ZXM=",
          "genesis-id": "text",
          "global-state-delta": [
            {
              "key": "text",
              "value": {
                "action": 1,
                "bytes": "text",
                "uint": 1
              }
            }
          ],
          "group": "Ynl0ZXM=",
          "id": "text",
          "inner-txns": [
            "[Circular Reference]"
          ],
          "intra-round-offset": 1,
          "keyreg-transaction": {
            "non-participation": true,
            "selection-participation-key": "Ynl0ZXM=",
            "state-proof-key": "Ynl0ZXM=",
            "vote-first-valid": 1,
            "vote-key-dilution": 1,
            "vote-last-valid": 1,
            "vote-participation-key": "Ynl0ZXM="
          },
          "last-valid": 1,
          "lease": "Ynl0ZXM=",
          "local-state-delta": [
            {
              "address": "text",
              "delta": [
                {
                  "key": "text",
                  "value": {
                    "action": 1,
                    "bytes": "text",
                    "uint": 1
                  }
                }
              ]
            }
          ],
          "logs": [
            "Ynl0ZXM="
          ],
          "note": "Ynl0ZXM=",
          "payment-transaction": {
            "amount": 1,
            "close-amount": 1,
            "close-remainder-to": "text",
            "receiver": "text"
          },
          "receiver-rewards": 1,
          "rekey-to": "text",
          "round-time": 1,
          "sender": "text",
          "sender-rewards": 1,
          "signature": {
            "logicsig": {
              "args": [
                "text"
              ],
              "logic": "Ynl0ZXM=",
              "multisig-signature": {
                "subsignature": [
                  {
                    "public-key": "Ynl0ZXM=",
                    "signature": "Ynl0ZXM="
                  }
                ],
                "threshold": 1,
                "version": 1
              },
              "signature": "Ynl0ZXM="
            },
            "multisig": {
              "subsignature": [
                {
                  "public-key": "Ynl0ZXM=",
                  "signature": "Ynl0ZXM="
                }
              ],
              "threshold": 1,
              "version": 1
            },
            "sig": "Ynl0ZXM="
          },
          "state-proof-transaction": {
            "message": {
              "block-headers-commitment": "Ynl0ZXM=",
              "first-attested-round": 1,
              "latest-attested-round": 1,
              "ln-proven-weight": 1,
              "voters-commitment": "Ynl0ZXM="
            },
            "state-proof": {
              "part-proofs": {
                "hash-factory": {
                  "hash-type": 1
                },
                "path": [
                  "Ynl0ZXM="
                ],
                "tree-depth": 1
              },
              "positions-to-reveal": [
                1
              ],
              "reveals": [
                {
                  "participant": {
                    "verifier": {
                      "commitment": "Ynl0ZXM=",
                      "key-lifetime": 1
                    },
                    "weight": 1
                  },
                  "position": 1,
                  "sig-slot": {
                    "lower-sig-weight": 1,
                    "signature": {
                      "falcon-signature": "Ynl0ZXM=",
                      "merkle-array-index": 1,
                      "proof": {
                        "hash-factory": {
                          "hash-type": 1
                        },
                        "path": [
                          "Ynl0ZXM="
                        ],
                        "tree-depth": 1
                      },
                      "verifying-key": "Ynl0ZXM="
                    }
                  }
                }
              ],
              "salt-version": 1,
              "sig-commit": "Ynl0ZXM=",
              "sig-proofs": {
                "hash-factory": {
                  "hash-type": 1
                },
                "path": [
                  "Ynl0ZXM="
                ],
                "tree-depth": 1
              },
              "signed-weight": 1
            },
            "state-proof-type": 1
          },
          "tx-type": "pay"
        }
      ],
      "intra-round-offset": 1,
      "keyreg-transaction": {
        "non-participation": true,
        "selection-participation-key": "Ynl0ZXM=",
        "state-proof-key": "Ynl0ZXM=",
        "vote-first-valid": 1,
        "vote-key-dilution": 1,
        "vote-last-valid": 1,
        "vote-participation-key": "Ynl0ZXM="
      },
      "last-valid": 1,
      "lease": "Ynl0ZXM=",
      "local-state-delta": [
        {
          "address": "text",
          "delta": [
            {
              "key": "text",
              "value": {
                "action": 1,
                "bytes": "text",
                "uint": 1
              }
            }
          ]
        }
      ],
      "logs": [
        "Ynl0ZXM="
      ],
      "note": "Ynl0ZXM=",
      "payment-transaction": {
        "amount": 1,
        "close-amount": 1,
        "close-remainder-to": "text",
        "receiver": "text"
      },
      "receiver-rewards": 1,
      "rekey-to": "text",
      "round-time": 1,
      "sender": "text",
      "sender-rewards": 1,
      "signature": {
        "logicsig": {
          "args": [
            "text"
          ],
          "logic": "Ynl0ZXM=",
          "multisig-signature": {
            "subsignature": [
              {
                "public-key": "Ynl0ZXM=",
                "signature": "Ynl0ZXM="
              }
            ],
            "threshold": 1,
            "version": 1
          },
          "signature": "Ynl0ZXM="
        },
        "multisig": {
          "subsignature": [
            {
              "public-key": "Ynl0ZXM=",
              "signature": "Ynl0ZXM="
            }
          ],
          "threshold": 1,
          "version": 1
        },
        "sig": "Ynl0ZXM="
      },
      "state-proof-transaction": {
        "message": {
          "block-headers-commitment": "Ynl0ZXM=",
          "first-attested-round": 1,
          "latest-attested-round": 1,
          "ln-proven-weight": 1,
          "voters-commitment": "Ynl0ZXM="
        },
        "state-proof": {
          "part-proofs": {
            "hash-factory": {
              "hash-type": 1
            },
            "path": [
              "Ynl0ZXM="
            ],
            "tree-depth": 1
          },
          "positions-to-reveal": [
            1
          ],
          "reveals": [
            {
              "participant": {
                "verifier": {
                  "commitment": "Ynl0ZXM=",
                  "key-lifetime": 1
                },
                "weight": 1
              },
              "position": 1,
              "sig-slot": {
                "lower-sig-weight": 1,
                "signature": {
                  "falcon-signature": "Ynl0ZXM=",
                  "merkle-array-index": 1,
                  "proof": {
                    "hash-factory": {
                      "hash-type": 1
                    },
                    "path": [
                      "Ynl0ZXM="
                    ],
                    "tree-depth": 1
                  },
                  "verifying-key": "Ynl0ZXM="
                }
              }
            }
          ],
          "salt-version": 1,
          "sig-commit": "Ynl0ZXM=",
          "sig-proofs": {
            "hash-factory": {
              "hash-type": 1
            },
            "path": [
              "Ynl0ZXM="
            ],
            "tree-depth": 1
          },
          "signed-weight": 1
        },
        "state-proof-type": 1
      },
      "tx-type": "pay"
    }
  ],
  "transactions-root": "Ynl0ZXM=",
  "transactions-root-sha256": "Ynl0ZXM=",
  "txn-counter": 1,
  "upgrade-state": {
    "current-protocol": "text",
    "next-protocol": "text",
    "next-protocol-approvals": 1,
    "next-protocol-switch-on": 1,
    "next-protocol-vote-before": 1
  },
  "upgrade-vote": {
    "upgrade-approve": true,
    "upgrade-delay": 1,
    "upgrade-propose": "text"
  }
}

Last updated