State

Get Package Codes Page

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.

post/state/package/page/codes

Request body

cursorstring nullable

This cursor allows forward pagination, by providing the cursor from the previous request.

limit_per_pageinteger nullable

The page size requested.

package_addressstring required

Bech32m-encoded human readable version of the address.

Example request

{
  "package_address": "<package-address>"
}

Response

Package Blueprints (paginated)

total_countinteger nullable

Total number of items in underlying collection, fragment of which is available in items collection.

next_cursorstring nullable

If specified, contains a cursor to query next page of the items collection.

package_addressstring required

Bech32m-encoded human readable version of the address.

Example response

{
  "ledger_state": {
    "network": "<network-name>"
  }
}

Changes

Changed in 3 of the 50 revisions of this API.33

  • 00c5f3bf5c2112See the full diff
    • the response property //////// became nullable for the status

      response-property-became-nullable

    • the request property //// became nullable

      request-property-became-nullable

    • the request property //// became nullable

      request-property-became-nullable

    • the request property //// became not nullable

      request-property-became-not-nullable

    • the request property //// became not nullable

      request-property-became-not-nullable

    • added AccountLockerNotFoundError discriminator mapping keys to the response property for the response status

      response-property-discriminator-mapping-added