Gets the transaction receipt for a committed transaction.
The logical name of the network
"{{network}}"
The intent hash for a user transaction, also known as the transaction id. This hash identifies the core content "intent" of the transaction. Each intent can only be committed once. This hash gets signed by any signatories on the transaction, to create the signed intent. Either hex or Bech32m-encoded strings are supported.
Requested transaction formats to include in the response
Committed transaction found response
const response = await fetch('https://xrd.nownodes.io/core/transaction/receipt', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"network": "{{network}}",
"intent_hash": "text"
}),
});
const data = await response.json();
{
"committed": {
"resultant_state_identifiers": {
"state_version": 0,
"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": 0,
"finalization_cost_units_consumed": 0,
"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": 0,
"execution_cost_unit_loan": 0,
"finalization_cost_unit_price": "text",
"finalization_cost_unit_limit": 0,
"xrd_usd_price": "text",
"xrd_storage_price": "text",
"xrd_archive_storage_price": "text",
"tip_percentage": 0
},
"fee_source": {
"from_vaults": [
{
"vault_entity": {
"entity_type": "GlobalPackage",
"is_global": false,
"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": false,
"entity_address": "text"
},
"xrd_amount": "text"
}
]
},
"state_updates": {
"deleted_partitions": [
{
"entity_type": "GlobalPackage",
"entity_address": "text",
"entity_module": "TypeInfo",
"partition_kind": "Field",
"partition_number": 0
}
],
"created_substates": [
{
"substate_id": {
"entity_type": "GlobalPackage",
"entity_address": "text",
"entity_module": "TypeInfo",
"partition_kind": "Field",
"partition_number": 0,
"substate_type": "BootLoaderModuleFieldVmBoot",
"substate_key": {
"key_type": "Field",
"db_sort_key_hex": "text"
}
},
"value": {
"substate_hex": "text",
"substate_data_hash": "text",
"substate_data": {
"substate_type": "BootLoaderModuleFieldVmBoot",
"is_locked": false
}
},
"system_structure": {
"type": "SystemField"
}
}
],
"updated_substates": [
{
"substate_id": {
"entity_type": "GlobalPackage",
"entity_address": "text",
"entity_module": "TypeInfo",
"partition_kind": "Field",
"partition_number": 0,
"substate_type": "BootLoaderModuleFieldVmBoot",
"substate_key": {
"key_type": "Field",
"db_sort_key_hex": "text"
}
},
"new_value": {
"substate_hex": "text",
"substate_data_hash": "text",
"substate_data": {
"substate_type": "BootLoaderModuleFieldVmBoot",
"is_locked": false
}
},
"previous_value": {
"substate_hex": "text",
"substate_data_hash": "text",
"substate_data": {
"substate_type": "BootLoaderModuleFieldVmBoot",
"is_locked": false
}
},
"system_structure": {
"type": "SystemField"
}
}
],
"deleted_substates": [
{
"substate_id": {
"entity_type": "GlobalPackage",
"entity_address": "text",
"entity_module": "TypeInfo",
"partition_kind": "Field",
"partition_number": 0,
"substate_type": "BootLoaderModuleFieldVmBoot",
"substate_key": {
"key_type": "Field",
"db_sort_key_hex": "text"
}
},
"previous_value": {
"substate_hex": "text",
"substate_data_hash": "text",
"substate_data": {
"substate_type": "BootLoaderModuleFieldVmBoot",
"is_locked": false
}
},
"system_structure": {
"type": "SystemField"
}
}
],
"new_global_entities": [
{
"entity_type": "GlobalPackage",
"is_global": false,
"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": 0,
"as_sbor": {
"hex": "text"
}
}
}
},
"name": "text"
},
"data": {
"hex": "text"
}
}
],
"next_epoch": {
"epoch": 0,
"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"
}
],
"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": 0
}
}