Skip to main content

KioskOwnerCap

KioskOwnerCap Objects

class KioskOwnerCap(KioskOwnerCapProtocol)

A typed view of an on-chain 0x2::kiosk::KioskOwnerCap object.

try_from_bcs

@classmethod
def try_from_bcs(cls, bytes: bytes) -> KioskOwnerCap

Decode from BCS bytes, without validating the on-chain type tag.

try_from_object

@classmethod
def try_from_object(cls, object: Object) -> KioskOwnerCap

Decode from an on-chain object, validating its Move type tag.

id

def id() -> ObjectId

The object's ID.

kiosk_id

def kiosk_id() -> ObjectId

ID of the kiosk this cap controls (the Move for field).