Download OpenAPI specification:Download
This API is currently in Beta
This specification may experience breaking changes as part of Babylon Node releases. Such
changes will be clearly mentioned in the babylon-node release notes.
We advise against using this API for business-critical integrations before the version
indicated above becomes stable, which is expected in Q4 of 2024.
This API provides a complete view of the current ledger state, operating at a relatively low level (i.e. returning Entities' data and type information in a generic way, without interpreting specifics of different native or custom components).
It mirrors how the Radix Engine views the ledger state in its "System" layer, and thus can be useful for Scrypto developers, who need to inspect how the Engine models and stores their application's state, or how an interface / authentication scheme of another component looks like.
Endpoints offering additional information based on data sources outside of the Radix Engine's runtime storage.
Lists addresses of all entities meeting the requested search criteria, in an iterator-like paged fashion.
A page of entity addresses.
Client error
Request conflicting with the Node's configuration
Server error
{- "filter": {
- "type": "Blueprint"
}, - "max_page_size": 1,
- "continuation_token": "string",
- "at_ledger_state": {
- "type": "ByStateVersion"
}
}
{- "at_ledger_state": {
- "state_version": 1,
- "header_summary": {
- "epoch_round": {
- "epoch": 10000000000,
- "round": 10000000000
}, - "ledger_hashes": {
- "state_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "transaction_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "receipt_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri"
}, - "proposer_timestamp": {
- "unix_timestamp_ms": "string",
- "date_time": "string"
}
}
}, - "page": [
- {
- "entity_address": "string",
- "system_type": "Object",
- "entity_type": "GlobalPackage",
- "is_global": true,
- "created_at_state_version": 1,
- "blueprint": {
- "package_address": "string",
- "blueprint_name": "string"
}
}
], - "continuation_token": "string"
}
Resolves basic information about an entity: its type, attached modules, fields/collections and blueprint.
Meta-information about the requested entity's state.
Client error
Request conflicting with the Node's configuration
Server error
{- "entity_address": "string",
- "at_ledger_state": {
- "type": "ByStateVersion"
}
}
{- "at_ledger_state": {
- "state_version": 1,
- "header_summary": {
- "epoch_round": {
- "epoch": 10000000000,
- "round": 10000000000
}, - "ledger_hashes": {
- "state_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "transaction_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "receipt_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri"
}, - "proposer_timestamp": {
- "unix_timestamp_ms": "string",
- "date_time": "string"
}
}
}, - "info": {
- "system_type": "Object",
- "ancestry": {
- "parent_entity_address": "string",
- "root_entity_address": "string"
}
}
}
Reads the current value of an object's field, given an entity address, a module (Main
by
default) and either a field index or its human-readable name (if applicable).
Current object field value
Client error
Request conflicting with the Node's configuration
Server error
{- "entity_address": "string",
- "attached_module_id": "Metadata",
- "field_name": "string",
- "field_index": 255,
- "sbor_format_options": {
- "raw_hex": true,
- "programmatic_json": true
}, - "at_ledger_state": {
- "type": "ByStateVersion"
}
}
{- "at_ledger_state": {
- "state_version": 1,
- "header_summary": {
- "epoch_round": {
- "epoch": 10000000000,
- "round": 10000000000
}, - "ledger_hashes": {
- "state_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "transaction_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "receipt_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri"
}, - "proposer_timestamp": {
- "unix_timestamp_ms": "string",
- "date_time": "string"
}
}
}, - "content": {
- "raw_hex": "string",
- "programmatic_json": { }
}
}
Lists keys of all entries from a particular object's collection, in an iterator-like paged fashion
A page of entry keys.
Client error
Request conflicting with the Node's configuration
Server error
{- "entity_address": "string",
- "attached_module_id": "Metadata",
- "collection_name": "string",
- "collection_index": 255,
- "sbor_format_options": {
- "raw_hex": true,
- "programmatic_json": true
}, - "max_page_size": 1,
- "continuation_token": "string",
- "at_ledger_state": {
- "type": "ByStateVersion"
}
}
{- "at_ledger_state": {
- "state_version": 1,
- "header_summary": {
- "epoch_round": {
- "epoch": 10000000000,
- "round": 10000000000
}, - "ledger_hashes": {
- "state_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "transaction_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "receipt_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri"
}, - "proposer_timestamp": {
- "unix_timestamp_ms": "string",
- "date_time": "string"
}
}
}, - "page": [
- {
- "kind": "KeyValueStore"
}
], - "continuation_token": "string"
}
Reads the current value of a specific entry from an Object's Collection.
Current value of the entry
Client error
Request conflicting with the Node's configuration
Server error
{- "entity_address": "string",
- "attached_module_id": "Metadata",
- "collection_name": "string",
- "collection_index": 255,
- "key": {
- "kind": "KeyValueStore"
}, - "sbor_format_options": {
- "raw_hex": true,
- "programmatic_json": true
}, - "at_ledger_state": {
- "type": "ByStateVersion"
}
}
{- "at_ledger_state": {
- "state_version": 1,
- "header_summary": {
- "epoch_round": {
- "epoch": 10000000000,
- "round": 10000000000
}, - "ledger_hashes": {
- "state_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "transaction_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "receipt_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri"
}, - "proposer_timestamp": {
- "unix_timestamp_ms": "string",
- "date_time": "string"
}
}
}, - "content": {
- "raw_hex": "string",
- "programmatic_json": { }
}
}
Lists keys of all metadata entries defined for a particular Object, in an iterator-like paged fashion
A page of metadata keys.
Client error
Request conflicting with the Node's configuration
Server error
{- "entity_address": "string",
- "max_page_size": 1,
- "continuation_token": "string",
- "at_ledger_state": {
- "type": "ByStateVersion"
}
}
{- "at_ledger_state": {
- "state_version": 1,
- "header_summary": {
- "epoch_round": {
- "epoch": 10000000000,
- "round": 10000000000
}, - "ledger_hashes": {
- "state_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "transaction_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "receipt_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri"
}, - "proposer_timestamp": {
- "unix_timestamp_ms": "string",
- "date_time": "string"
}
}
}, - "page": [
- {
- "key": "string"
}
], - "continuation_token": "string"
}
Reads the current value of a specific Object's metadata by key.
Current value of the entry
Client error
Request conflicting with the Node's configuration
Server error
{- "entity_address": "string",
- "key": "string",
- "sbor_format_options": {
- "raw_hex": true,
- "programmatic_json": true
}, - "at_ledger_state": {
- "type": "ByStateVersion"
}
}
{- "at_ledger_state": {
- "state_version": 1,
- "header_summary": {
- "epoch_round": {
- "epoch": 10000000000,
- "round": 10000000000
}, - "ledger_hashes": {
- "state_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "transaction_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "receipt_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri"
}, - "proposer_timestamp": {
- "unix_timestamp_ms": "string",
- "date_time": "string"
}
}
}, - "content": {
- "type": "String"
}
}
Reads the current assignment of particular Object's Access Rules to Roles defined by the Blueprint.
Current assignment
Client error
Request conflicting with the Node's configuration
Server error
{- "entity_address": "string",
- "at_ledger_state": {
- "type": "ByStateVersion"
}
}
{- "at_ledger_state": {
- "state_version": 1,
- "header_summary": {
- "epoch_round": {
- "epoch": 10000000000,
- "round": 10000000000
}, - "ledger_hashes": {
- "state_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "transaction_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "receipt_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri"
}, - "proposer_timestamp": {
- "unix_timestamp_ms": "string",
- "date_time": "string"
}
}
}, - "owner": {
- "rule": {
- "type": "Protected"
}, - "updater": "None"
}, - "main_module_roles": [
- {
- "key": "string",
- "assignment": {
- "type": "Owner"
}
}
], - "attached_modules": [
- {
- "attached_module_id": "Metadata",
- "roles": [
- {
- "key": "string",
- "assignment": {
- "type": "Owner"
}
}
]
}
]
}
Reads the currently configured Package and Component Royalty amounts of particular Object's methods.
Current assignment
Client error
Request conflicting with the Node's configuration
Server error
{- "entity_address": "string",
- "at_ledger_state": {
- "type": "ByStateVersion"
}
}
{- "at_ledger_state": {
- "state_version": 1,
- "header_summary": {
- "epoch_round": {
- "epoch": 10000000000,
- "round": 10000000000
}, - "ledger_hashes": {
- "state_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "transaction_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "receipt_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri"
}, - "proposer_timestamp": {
- "unix_timestamp_ms": "string",
- "date_time": "string"
}
}
}, - "method_royalties": [
- {
- "name": "string",
- "component_royalty_amount": {
- "amount": "string",
- "unit": "XRD"
}, - "package_royalty_amount": {
- "amount": "string",
- "unit": "XRD"
}
}
]
}
Lists keys of all entries from a particular Key-Value Store, in an iterator-like paged fashion
A page of map keys.
Client error
Request conflicting with the Node's configuration
Server error
{- "entity_address": "string",
- "sbor_format_options": {
- "raw_hex": true,
- "programmatic_json": true
}, - "max_page_size": 1,
- "continuation_token": "string",
- "at_ledger_state": {
- "type": "ByStateVersion"
}
}
{- "at_ledger_state": {
- "state_version": 1,
- "header_summary": {
- "epoch_round": {
- "epoch": 10000000000,
- "round": 10000000000
}, - "ledger_hashes": {
- "state_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "transaction_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "receipt_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri"
}, - "proposer_timestamp": {
- "unix_timestamp_ms": "string",
- "date_time": "string"
}
}
}, - "page": [
- {
- "key": {
- "raw_hex": "string",
- "programmatic_json": { }
}
}
], - "continuation_token": "string"
}
Reads the current value of a specific entry from a Key-Value Store.
Current value of the entry
Client error
Request conflicting with the Node's configuration
Server error
{- "entity_address": "string",
- "key": {
- "raw_hex": "string",
- "programmatic_json": { }
}, - "sbor_format_options": {
- "raw_hex": true,
- "programmatic_json": true
}, - "at_ledger_state": {
- "type": "ByStateVersion"
}
}
{- "at_ledger_state": {
- "state_version": 1,
- "header_summary": {
- "epoch_round": {
- "epoch": 10000000000,
- "round": 10000000000
}, - "ledger_hashes": {
- "state_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "transaction_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "receipt_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri"
}, - "proposer_timestamp": {
- "unix_timestamp_ms": "string",
- "date_time": "string"
}
}
}, - "content": {
- "raw_hex": "string",
- "programmatic_json": { }
}
}
Returns all externally-relevant information about a particular blueprint.
Information about the requested blueprint.
Client error
Request conflicting with the Node's configuration
Server error
{- "package_address": "string",
- "blueprint_name": "string",
- "blueprint_version": "string",
- "sbor_format_options": {
- "raw_hex": true,
- "programmatic_json": true
}, - "at_ledger_state": {
- "type": "ByStateVersion"
}
}
{- "at_ledger_state": {
- "state_version": 1,
- "header_summary": {
- "epoch_round": {
- "epoch": 10000000000,
- "round": 10000000000
}, - "ledger_hashes": {
- "state_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "transaction_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "receipt_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri"
}, - "proposer_timestamp": {
- "unix_timestamp_ms": "string",
- "date_time": "string"
}
}
}, - "info": {
- "outer_blueprint_name": "string",
- "is_transient": true,
- "generic_type_parameters": [
- {
- "type": "Any"
}
], - "available_features": [
- "string"
], - "fields": [
- {
- "index": 255,
- "name": "string",
- "type_reference": {
- "type": "Static"
}, - "condition": {
- "type": "IfOwnFeature"
}, - "transience": {
- "default_value": {
- "raw_hex": "string",
- "programmatic_json": { }
}
}
}
], - "collections": [
- {
- "index": 255,
- "name": "string",
- "kind": "KeyValueStore",
- "key_type_reference": {
- "type": "Static"
}, - "value_type_reference": {
- "type": "Static"
}
}
], - "functions": [
- {
- "name": "string",
- "input_type_reference": {
- "type": "Static"
}, - "output_type_reference": {
- "type": "Static"
}, - "authorization": {
- "type": "Public"
}, - "royalty_amount": {
- "amount": "string",
- "unit": "XRD"
}
}
], - "methods": [
- {
- "name": "string",
- "receiver": {
- "receiver_type": "SelfRef",
- "reference_types": [
- "Normal"
]
}, - "input_type_reference": {
- "type": "Static"
}, - "output_type_reference": {
- "type": "Static"
}, - "authorization": {
- "type": "Public"
}, - "royalty_amount": {
- "amount": "string",
- "unit": "XRD"
}
}
], - "roles": {
- "type": "Local"
}, - "events": [
- {
- "name": "string",
- "type_reference": {
- "type": "Static"
}
}
], - "named_types": [
- {
- "name": "string",
- "type_reference": {
- "type": "WellKnown",
- "name": "string"
}
}
]
}
}
Reads the contents of a specific schema associated with an entity.
Schema contents
Client error
Request conflicting with the Node's configuration
Server error
{- "entity_address": "string",
- "schema_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "sbor_format_options": {
- "raw_hex": true,
- "programmatic_json": true
}, - "at_ledger_state": {
- "type": "ByStateVersion"
}
}
{- "at_ledger_state": {
- "state_version": 1,
- "header_summary": {
- "epoch_round": {
- "epoch": 10000000000,
- "round": 10000000000
}, - "ledger_hashes": {
- "state_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "transaction_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri",
- "receipt_tree_hash": "stringstringstringstringstringstringstringstringstringstringstri"
}, - "proposer_timestamp": {
- "unix_timestamp_ms": "string",
- "date_time": "string"
}
}
}, - "content": {
- "raw_hex": "string",
- "programmatic_json": { }
}
}