Skip to content

Function: fetchAccessNftById() ​

fetchAccessNftById(client, objectId, nftType): Promise<OwnedAccessNft>

Defined in: ownership.ts:92

Read one access NFT by id, when a UI needs its exact pass variant. Returns null if the object is not of nftType.

Parameters ​

client ​

SuiObjectClient

objectId ​

string

nftType ​

string

Returns ​

Promise<OwnedAccessNft>

Throws ​

if the RPC call fails (including a missing object).

2026 Meddleware. All jams preserved.