@wharfkit/atomicassets - v4.0.2
    Preparing search index...

    Class TemplateObject

    Hierarchy

    • Struct$1
      • TemplateObject
    Index
    collection: CollectionObject
    contract: Name
    created_at_block: UInt64
    created_at_time: string
    data: Record<string, any>

    Immutable and mutable data merged. AtomicAssets v2 only.

    deleted_at_block: UInt64

    Set once the template is removed by deltemplate. AtomicAssets v2 only.

    deleted_at_time: string

    Set once the template is removed by deltemplate. AtomicAssets v2 only.

    immutable_data: Record<string, any>
    is_burnable: boolean
    is_transferable: boolean
    issued_supply: UInt32
    max_supply: UInt32
    mutable_data: Record<string, any>

    Mutable template data, set by settempldata. AtomicAssets v2 only.

    name: string
    schema: SchemaObject
    template_id: Int32
    abiBase: ABISerializableConstructor
    abiFields: ABIField[]
    abiName: string
    • get structFields(): ABIField[]

      Returns ABIField[]

    • Return true if this struct equals the other.

      Note: This compares the ABI encoded bytes of both structs, subclasses should implement their own fast equality check when possible.

      Parameters

      • other: any

      Returns boolean

    • Type Parameters

      • T extends StructConstructor

      Parameters

      • this: T
      • value: any

      Returns InstanceType<T>

    • Parameters

      • value: any

      Returns unknown