Blueprints
Returns all the blueprints associated with a given package entity. The returned response is in a paginated format, ordered by first appearance on the ledger.
Body
all ofOptionalExample:
{"package_address":"<package-address>"}
Responses
200
Package Blueprints (paginated)
application/json
Responseall of
4XX
Client-originated request error
application/json
post
POST /state/package/page/blueprints HTTP/1.1
Host: xrd-gateway.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"package_address": "<package-address>"
}
{
"ledger_state": {
"network": "<network-name>",
"state_version": 1,
"proposer_round_timestamp": "text",
"epoch": 1,
"round": 1
},
"total_count": 1,
"next_cursor": "text",
"items": [
{
"name": "text",
"version": "text",
"definition": {},
"dependant_entities": [
"text"
],
"auth_template": {},
"auth_template_is_locked": true,
"royalty_config": {
"is_enabled": true,
"method_rules": [
{
"method_name": "text",
"royalty_amount": {
"amount": "text",
"unit": "XRD"
}
}
]
},
"royalty_config_is_locked": true
}
],
"package_address": "text"
}