Reads the package's substate/s from the top of the current ledger.
/state/package
The logical name of the network
{{network}}
The Bech32m-encoded human readable version of the package's global address
Current state response
Client error
Not found error
Server error
curl -L \ --request POST \ --url 'https://xrd.nownodes.io/core/state/package' \ --header 'Content-Type: application/json' \ --data '{"network":"{{network}}","package_address":"text"}'
{ "at_ledger_state": { "state_version": 1, "header_summary": { "epoch_round": { "epoch": 1, "round": 1 }, "ledger_hashes": { "state_tree_hash": "text", "transaction_tree_hash": "text", "receipt_tree_hash": "text" }, "proposer_timestamp": { "unix_timestamp_ms": 1, "date_time": "text" } } }, "owner_role": { "substate_type": "BootLoaderModuleFieldVmBoot", "is_locked": true }, "royalty": { "substate_type": "BootLoaderModuleFieldVmBoot", "is_locked": true } }