Array - p2p-org/solana-swift GitHub Wiki
Extensions on Array
Initializers
init(hex:)
public init(hex: String)
init(base64:)
init(base64: String)
init(from:)
public init(from reader: inout BinaryReader) throws
Properties
bytes
public var bytes: [UInt8]
Methods
getMatchedPools(sourceMint:destinationMint:)
public func getMatchedPools(sourceMint: String?, destinationMint: String?) -> [Pool]
getPools(mintA:)
public func getPools(mintA: String) -> [Pool]
getPools(mintB:)
public func getPools(mintB: String) -> [Pool]
excludingSpecialTokens()
public func excludingSpecialTokens() -> Self
toUInt32()
func toUInt32() -> UInt32?
toUInt64()
func toUInt64() -> UInt64?
toInt()
func toInt() -> Int
toHexString()
public func toHexString() -> String
toBase64()
func toBase64() -> String
serialize(to:)
public func serialize(to writer: inout Data) throws