SPLTokenMetaDataUpdateAuthorityLayout class

Updates the token-metadata authority layout.

Inheritance

Constructors

SPLTokenMetaDataUpdateAuthorityLayout({SolAddress? newAuthority})
Constructs a new instance of SPLTokenMetaDataUpdateAuthorityLayout with the provided new authority.
const
SPLTokenMetaDataUpdateAuthorityLayout.fromBuffer(List<int> bytes)
Decodes the provided byte array to extract the new authority information.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
instruction List<int>
Gets the instruction bytes for the update authority instruction.
no setteroverride
layout → StructLayout
Gets the layout structure of this update authority instruction.
no setteroverride
newAuthority SolAddress?
New authority for the token metadata, or unset if null
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Map<String, dynamic>
Serializes the update authority data for transmission.
override
toBytes() List<int>
Converts the program to bytes using Borsh serialization.
inherited
toHex() String
Converts the program to a hexadecimal string.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited