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

    Class RoyaltyPair

    A royalty recipient and its weight as returned by the API.

    This is intentionally not the AtomicMarket contract's ROYALTYPAIR struct. That one serializes action data for setroyalconf and the rule actions, this one only decodes an API row, and keeping them apart is what stops a decoded row from reaching the wire.

    Hierarchy

    • Struct$1
      • RoyaltyPair
    Index
    recipient: Name
    weight: UInt32
    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