Non fungible
Reads the data associated with a single Non-Fungible Unit under a Non-Fungible Resource.
Body
networkstringRequiredExample:
The logical name of the network
{{network}}
resource_addressstringRequired
The Bech32m-encoded human readable version of the resource's global address
non_fungible_idstringRequired
The simple string representation of the non-fungible id.
- For string ids, this is
<the-string-id>
- For integer ids, this is
#the-integer-id#
- For bytes ids, this is
[the-lower-case-hex-representation]
- For RUID ids, this is
{...-...-...-...}
where...
are each 16 hex characters. A given non-fungible resource has a fixedNonFungibleIdType
, so this representation uniquely identifies this non-fungible under the given resource 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/non-fungible HTTP/1.1
Host: xrd.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 76
{
"network": "{{network}}",
"resource_address": "text",
"non_fungible_id": "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"
}
}
},
"non_fungible": {
"substate_type": "BootLoaderModuleFieldSystemBoot",
"is_locked": true
}
}