Skip to content

AccountInfo

bigearsenal edited this page May 17, 2022 · 1 revision

AccountInfo

public struct AccountInfo: BufferLayout 

Inheritance

BorshCodable, BufferLayout

Initializers

init(from:)

public init(from reader: inout BinaryReader) throws 

Properties

BUFFER_LENGTH

public static let BUFFER_LENGTH: UInt64 = 165

mint

public let mint: PublicKey

owner

public let owner: PublicKey

lamports

public let lamports: UInt64

delegateOption

public let delegateOption: UInt32

delegate

public var delegate: PublicKey?

isInitialized

public let isInitialized: Bool

isFrozen

public let isFrozen: Bool

state

public let state: UInt8

isNativeOption

public let isNativeOption: UInt32

rentExemptReserve

public let rentExemptReserve: UInt64?

isNativeRaw

public let isNativeRaw: UInt64

isNative

public let isNative: Bool

delegatedAmount

public var delegatedAmount: UInt64

closeAuthorityOption

public let closeAuthorityOption: UInt32

closeAuthority

public var closeAuthority: PublicKey?

Methods

serialize(to:)

public func serialize(to writer: inout Data) throws 
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Operators
Extensions
Clone this wiki locally