Skip to content
bigearsenal edited this page May 17, 2022 · 1 revision

Wallet

public struct Wallet: Hashable 

Inheritance

Hashable

Initializers

init(pubkey:lamports:token:)

public init(pubkey: String? = nil, lamports: UInt64? = nil, token: Token) 

Properties

pubkey

public var pubkey: String?

lamports

public var lamports: UInt64?

token

public var token: Token

userInfo

public var userInfo: AnyHashable?

isNativeSOL

public var isNativeSOL: Bool 

amount

public var amount: Double? 

Methods

nativeSolana(pubkey:lamport:)

public static func nativeSolana(
        pubkey: String?,
        lamport: UInt64?
    ) -> Wallet 
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Operators
Extensions
Clone this wiki locally