Resource
Reads the resource manager's substate/s from the top of the current ledger.
Body
networkstringRequiredExample:
The logical name of the network
{{network}}
resource_addressstringRequired
The Bech32m-encoded human readable version of the resource's global address
Responses
200
Current state response
application/json
400
Client error
application/json
404
Not found error
application/json
500
Server error
application/json
post
POST /state/resource HTTP/1.1
Host: xrd.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"network": "{{network}}",
"resource_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"
}
}
},
"manager": {
"resource_type": "Fungible"
},
"owner_role": {
"substate_type": "BootLoaderModuleFieldSystemBoot",
"is_locked": true
}
}