Function: ownsAccessNft()
ownsAccessNft(
client,owner,nftType,gateId?,opts?):Promise<boolean>
Defined in: ownership.ts:129
True if owner holds at least one access NFT of nftType (optionally for gateId) that can be used: by default only unlimited passes and single-use passes with uses left count, because this is an authorisation decision (an exhausted pass that auto_burn_at_zero = false keeps is a receipt, not access). Pass { usable: false } to count every pass of the type. A pass whose variant cannot be parsed never counts. Stops paging at the first match.
Parameters
client
owner
string
nftType
string
gateId?
string
opts?
usable?
boolean
Returns
Promise<boolean>
Throws
if an RPC call fails.