v1

latestOpenAPI 3.0.02026-07-17224996.6 KB
Transactions

Get Transactions by block

Retrieve a list of transactions for a specific block. This includes submitted, system, and scheduled transactions.

get/transactions

Query parameters

block_idstring hexadecimal

A 32-byte unique identifier for an entity.

The ID of the block containing the transactions. The request may include either block_id or block_height, but not both.

string uint64
OR
'final' | 'sealed'

The height of the block containing the transactions. The request may include either block_id or block_height, but not both.

expandstring[]

A comma-separated list indicating which properties of the content to expand.

selectstring[]

A comma-separated list indicating which properties of the content to return.

Response

OK

idstring hexadecimal required

A 32-byte unique identifier for an entity.

scriptstring base64 required

Base64 encoded Cadence script.

argumentsstring[] required

Array of Base64 encoded arguments with in JSON-Cadence interchange format.

reference_block_idstring hexadecimal required

A 32-byte unique identifier for an entity.

gas_limitstring uint64 required

The limit on the amount of computation a transaction is allowed to preform.

payerstring hexadecimal required

The 8-byte address of an account.

authorizersAddress[] required

Example response

[
  {
    "_links": null,
    "reference_block_id": null,
    "payer": "payer",
    "script": "script",
    "result": {
      "collection_id": null,
      "error_message": "error_message",
      "execution": "Pending",
      "metadata": {
        "executor_metadata": {
          "execution_result_id": null,
          "executor_ids": [
            null,
            null
          ]
        }
      },
      "status_code": 0,
      "_links": {
        "_self": "_self"
      },
      "block_id": null,
      "computation_used": "computation_used",
      "events": [
        {
          "transaction_id": null,
          "payload": "",
          "transaction_index": "transaction_index",
          "type": "type",
          "event_index": "event_index"
        },
        {
          "transaction_id": null,
          "payload": "",
          "transaction_index": "transaction_index",
          "type": "type",
          "event_index": "event_index"
        }
      ],
      "status": "Pending"
    },
    "envelope_signatures": [
      null,
      null
    ],
    "gas_limit": "gas_limit",
    "payload_signatures": [
      {
        "address": null,
        "signature": "",
        "key_index": "key_index"
      },
      {
        "address": null,
        "signature": "",
        "key_index": "key_index"
      }
    ],
    "arguments": [
      "",
      ""
    ],
    "id": "id",
    "authorizers": [
      null,
      null
    ],
    "_expandable": {
      "result": "http://example.com/aeiou"
    },
    "proposal_key": {
      "sequence_number": "sequence_number",
      "address": null,
      "key_index": "key_index"
    }
  }
]