Skip to content

Function: parseOwnedAccessNft() ​

parseOwnedAccessNft(entry, nftType): OwnedAccessNft

Defined in: ownership.ts:74

Parse a core-API object (a listOwnedObjects item or a getObject's { object }) into an OwnedAccessNft, or null unless its type is exactly nftType (normalised comparison; a same-named struct from another package is rejected) and its gate id and pass variant parse.

Parameters ​

entry ​

unknown

nftType ​

string

Returns ​

OwnedAccessNft

Throws ​

if nftType is not an access_gate NFT type.

2026 Meddleware. All jams preserved.