Transactions

Get Committed Transactions

post

Returns the list of committed transactions.

Body

A request to retrieve a sublist of committed transactions from the ledger.

networkstringRequired

The logical name of the network

Example: {{network}}
from_state_versioninteger · int64 · min: 1 · max: 100000000000000Required

The first (resultant) state version to be returned

limitintegerRequired

The maximum number of transactions that will be returned.

include_proofsbooleanOptional

Whether to include LedgerProofs (default false)

Responses
200
Committed transactions response
application/json
post
POST /stream/transactions HTTP/1.1
Host: xrd.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 411

{
  "network": "{{network}}",
  "from_state_version": 1,
  "limit": 1,
  "sbor_format_options": {
    "raw": true,
    "programmatic_json": true
  },
  "transaction_format_options": {
    "manifest": true,
    "blobs": true,
    "message": true,
    "balance_changes": true,
    "raw_system_transaction": true,
    "raw_notarized_transaction": true,
    "raw_ledger_transaction": true
  },
  "substate_format_options": {
    "raw": true,
    "hash": true,
    "typed": true,
    "previous": true
  },
  "include_proofs": true
}
{
  "previous_state_identifiers": {
    "state_version": 1,
    "state_tree_hash": "text",
    "transaction_tree_hash": "text",
    "receipt_tree_hash": "text"
  },
  "from_state_version": 1,
  "count": 1,
  "max_ledger_state_version": 1,
  "transactions": [
    {
      "resultant_state_identifiers": {
        "state_version": 1,
        "state_tree_hash": "text",
        "transaction_tree_hash": "text",
        "receipt_tree_hash": "text"
      },
      "ledger_transaction": {
        "type": "Genesis",
        "payload_hex": "text"
      },
      "receipt": {
        "status": "Succeeded",
        "fee_summary": {
          "execution_cost_units_consumed": 1,
          "finalization_cost_units_consumed": 1,
          "xrd_total_execution_cost": "text",
          "xrd_total_finalization_cost": "text",
          "xrd_total_royalty_cost": "text",
          "xrd_total_storage_cost": "text",
          "xrd_total_tipping_cost": "text"
        },
        "costing_parameters": {
          "execution_cost_unit_price": "text",
          "execution_cost_unit_limit": 1,
          "execution_cost_unit_loan": 1,
          "finalization_cost_unit_price": "text",
          "finalization_cost_unit_limit": 1,
          "xrd_usd_price": "text",
          "xrd_storage_price": "text",
          "xrd_archive_storage_price": "text",
          "tip_proportion": "text"
        },
        "fee_source": {
          "from_vaults": [
            {
              "vault_entity": {
                "entity_type": "GlobalPackage",
                "is_global": true,
                "entity_address": "text"
              },
              "xrd_amount": "text"
            }
          ]
        },
        "fee_destination": {
          "to_proposer": "text",
          "to_validator_set": "text",
          "to_burn": "text",
          "to_royalty_recipients": [
            {
              "royalty_recipient": {
                "entity_type": "GlobalPackage",
                "is_global": true,
                "entity_address": "text"
              },
              "xrd_amount": "text"
            }
          ]
        },
        "state_updates": {
          "deleted_partitions": [
            {
              "entity_type": "GlobalPackage",
              "entity_address": "text",
              "entity_module": "TypeInfo",
              "partition_kind": "Field",
              "partition_number": 1
            }
          ],
          "created_substates": [
            {
              "substate_id": {
                "entity_type": "GlobalPackage",
                "entity_address": "text",
                "entity_module": "TypeInfo",
                "partition_kind": "Field",
                "partition_number": 1,
                "substate_type": "BootLoaderModuleFieldSystemBoot",
                "substate_key": {
                  "key_type": "Field",
                  "db_sort_key_hex": "text"
                }
              },
              "value": {
                "substate_hex": "text",
                "substate_data_hash": "text",
                "substate_data": {
                  "substate_type": "BootLoaderModuleFieldSystemBoot",
                  "is_locked": true
                }
              },
              "system_structure": {
                "type": "SystemField"
              }
            }
          ],
          "updated_substates": [
            {
              "substate_id": {
                "entity_type": "GlobalPackage",
                "entity_address": "text",
                "entity_module": "TypeInfo",
                "partition_kind": "Field",
                "partition_number": 1,
                "substate_type": "BootLoaderModuleFieldSystemBoot",
                "substate_key": {
                  "key_type": "Field",
                  "db_sort_key_hex": "text"
                }
              },
              "new_value": {
                "substate_hex": "text",
                "substate_data_hash": "text",
                "substate_data": {
                  "substate_type": "BootLoaderModuleFieldSystemBoot",
                  "is_locked": true
                }
              },
              "previous_value": {
                "substate_hex": "text",
                "substate_data_hash": "text",
                "substate_data": {
                  "substate_type": "BootLoaderModuleFieldSystemBoot",
                  "is_locked": true
                }
              },
              "system_structure": {
                "type": "SystemField"
              }
            }
          ],
          "deleted_substates": [
            {
              "substate_id": {
                "entity_type": "GlobalPackage",
                "entity_address": "text",
                "entity_module": "TypeInfo",
                "partition_kind": "Field",
                "partition_number": 1,
                "substate_type": "BootLoaderModuleFieldSystemBoot",
                "substate_key": {
                  "key_type": "Field",
                  "db_sort_key_hex": "text"
                }
              },
              "previous_value": {
                "substate_hex": "text",
                "substate_data_hash": "text",
                "substate_data": {
                  "substate_type": "BootLoaderModuleFieldSystemBoot",
                  "is_locked": true
                }
              },
              "system_structure": {
                "type": "SystemField"
              }
            }
          ],
          "new_global_entities": [
            {
              "entity_type": "GlobalPackage",
              "is_global": true,
              "entity_address": "text"
            }
          ]
        },
        "events": [
          {
            "type": {
              "emitter": {
                "type": "Function"
              },
              "type_reference": {
                "full_type_id": {
                  "entity_address": "text",
                  "schema_hash": "text",
                  "local_type_id": {
                    "kind": "WellKnown",
                    "id": 1,
                    "as_sbor": {
                      "hex": "text",
                      "programmatic_json": null
                    }
                  }
                }
              },
              "name": "text"
            },
            "data": {
              "hex": "text",
              "programmatic_json": null
            }
          }
        ],
        "next_epoch": {
          "epoch": 1,
          "validators": [
            {
              "address": "text",
              "key": {
                "key_type": "EcdsaSecp256k1",
                "key_hex": "text"
              },
              "stake": "text"
            }
          ],
          "significant_protocol_update_readiness": [
            {
              "readiness_signal_name": "text",
              "signalled_stake": "text"
            }
          ]
        },
        "output": [
          {
            "hex": "text",
            "programmatic_json": null
          }
        ],
        "error_message": "text"
      },
      "balance_changes": {
        "fungible_entity_balance_changes": [
          {
            "entity_address": "text",
            "fee_balance_change": {
              "resource_address": "text",
              "balance_change": "text"
            },
            "fee_balance_changes": [
              {
                "type": "FeePayment",
                "resource_address": "text",
                "balance_change": "text"
              }
            ],
            "non_fee_balance_changes": [
              {
                "resource_address": "text",
                "balance_change": "text"
              }
            ]
          }
        ],
        "non_fungible_entity_balance_changes": [
          {
            "entity_address": "text",
            "resource_address": "text",
            "added": [
              "text"
            ],
            "removed": [
              "text"
            ]
          }
        ]
      },
      "proposer_timestamp_ms": 1
    }
  ],
  "proofs": [
    {
      "ledger_header": {
        "epoch": 1,
        "round": 1,
        "state_version": 1,
        "hashes": {
          "state_tree_hash": "text",
          "transaction_tree_hash": "text",
          "receipt_tree_hash": "text"
        },
        "consensus_parent_round_timestamp_ms": 1,
        "proposer_timestamp_ms": 1,
        "next_epoch": {
          "epoch": 1,
          "validators": [
            {
              "address": "text",
              "key": {
                "key_type": "EcdsaSecp256k1",
                "key_hex": "text"
              },
              "stake": "text"
            }
          ],
          "significant_protocol_update_readiness": [
            {
              "readiness_signal_name": "text",
              "signalled_stake": "text"
            }
          ]
        },
        "next_protocol_version": "text"
      },
      "origin": {
        "type": "Genesis"
      }
    }
  ]
}