Schemas
Returns all the schemas associated with a given global entity. The returned response is in a paginated format, ordered by first appearance on the ledger.
Body
all ofOptionalExample:
{"address":"<package-address>"}
Responses
200
Entity Schemas (paginated)
application/json
Responseall of
4XX
Client-originated request error
application/json
post
POST /state/entity/page/schemas HTTP/1.1
Host: xrd-gateway.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"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": [
{
"schema_hash_hex": "text",
"schema_hex": "text"
}
],
"address": "text"
}