Returns all the codes associated with a given package entity. The returned response is in a paginated format, ordered by first appearance on the ledger.
{"package_address":"<package-address>"}
defines upper boundary (inclusive) for queried data. i.e { "at_state_version" = {"epoch" = 10} }, will return data till 10 epoch.
{ "at_state_version" = {"epoch" = 10} }
POST /state/package/page/codes HTTP/1.1 Host: xrd-gateway.nownodes.io Content-Type: application/json Accept: */* Content-Length: 39 { "package_address": "<package-address>" }
Package Blueprints (paginated)
{ "ledger_state": { "network": "<network-name>", "state_version": 1, "proposer_round_timestamp": "text", "epoch": 1, "round": 1 }, "total_count": 1, "next_cursor": "text", "items": [ { "vm_type": "Native", "code_hash_hex": "text", "code_hex": "text" } ], "package_address": "text" }