Receipt
Gets the transaction receipt for a committed transaction.
Body
networkstringRequiredExample:
The logical name of the network
{{network}}
intent_hashstringRequired
The transaction intent hash for a user transaction, also known as the transaction id. This hash identifies the core "intent" of the transaction. Each transaction 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.
Responses
200
Committed transaction found response
application/json
400
Client error
application/json
404
Committed transaction not found response
application/json
500
Server error
application/json
post
POST /transaction/receipt HTTP/1.1
Host: xrd.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 237
{
"network": "{{network}}",
"intent_hash": "text",
"transaction_format_options": {
"manifest": true,
"blobs": true,
"message": true,
"balance_changes": true,
"raw_system_transaction": true,
"raw_notarized_transaction": true,
"raw_ledger_transaction": true
}
}
{
"committed": {
"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
}
}