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

    Class SchemaObject

    Hierarchy

    • Struct$1
      • SchemaObject
    Index
    assets: UInt64
    collection: CollectionObject
    collection_name: Name
    contract: Name
    created_at_block: UInt64
    created_at_time: string
    schema_name: Name

    The descriptors authored through setschematyp, unmerged. Returned by /schemas and /schemas/{collection_name}/{schema_name} alone, so a schema nested in an asset, template, or account response omits it. An empty array means the schema has none, and an absent one means the response does not report them. AtomicAssets v2 only.

    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