-
Notifications
You must be signed in to change notification settings - Fork 59
TokenAmount
bigearsenal edited this page May 17, 2022
·
1 revision
public struct TokenAmount: Decodable
Decodable
public let address: String?
public let amount: String
public let decimals: UInt8
public let uiAmount: Float64
Generated at 2022-05-17T08:44:22+0000 using swift-doc 1.0.0-rc.1.
Types
- APIClientError
- APIEndPoint
- Account.Meta
- Account.Meta.CodingKeys
- AccountInfo
- AccountInstructions
- AnyDecodable
- AnyEncodable
- AnyResponse
- AssociatedTokenProgram
- BDouble
- BInt
- BIntMath
- Base58
- BinaryReader
- BlockCommitment
- BorshDecodingError
- BufferInfo
- BufferInfoParsed
- BufferLayoutError
- ClusterNodes
- ConfirmedBlock
- ConfirmedTransaction
- ConfirmedTransaction.Message
- Context
- DataSlice
- DefaultFeeCalculator
- DerivablePath
- DerivablePath.DerivableType
- Ed25519HDKey
- Ed25519HDKey.Error
- Ed25519HDKey.Keys
- EmptyInfo
- EncodableWrapper
- EpochInfo
- EpochSchedule
- ErrorDetail
- Fee
- FeeAmount
- FeeAmount.OtherFee
- FeeCalculatorResponse
- FeeRateGovernor
- Identity
- InflationGovernor
- InflationRate
- InnerInstruction
- Int2X
- Int2XConfig
- JSONRPCAPIClientRequest
- JSONRPCRequestEncoder
- JSONRPCResponse
- JSONRPCResponseDecoder
- Keychain
- Keychain.KeyDerivationError
- LargestAccount
- Mint
- Mnemonic
- Mnemonic.Error
- Network
- OwnerInfoParams
- OwnerValidationProgram
- ParsedInstruction
- PerformanceSample
- Pool
- PreparedTransaction
- ProgramAccount
- ProgramAccounts
- PublicKey
- RIPEMD
- RIPEMD.Block
- RIPEMD.Block.K
- RIPEMD.Block.r
- RIPEMD.Block.s
- RequestAPI
- RequestConfiguration
- Response
- ResponseError
- ResponseErrorData
- Reward
- Rpc
- SignatureInfo
- SignatureStatus
- SimulationResult
- SocketAction
- SocketEntity
- SocketError
- SocketLogsNotificationData
- SocketMethod
- SocketParams
- SocketSignatureNotificationData
- SocketTokenAccountNotificationData
- SocketTokenAccountNotificationDataInfo
- SocketTokenAccountNotificationDataParsed
- SolanaError
- StakeActivation
- Supply
- SwapResponse
- SystemProgram
- SystemProgram.Index
- Throwable
- Token
- TokenAccount
- TokenAccountBalance
- TokenAmount
- TokenBalance
- TokenExtensions
- TokenProgram
- TokenProgram.Index
- TokenSwapInfo
- TokenSwapProgram
- TokenTag
- TokensListParserError
- Transaction
- Transaction.Message
- Transaction.Message.CompiledInstruction
- Transaction.Message.Header
- Transaction.Signature
- TransactionInfo
- TransactionInstruction
- TransactionMeta
- TransactionStatus
- Transfer
- UInt2X
- Version
- VoteAccount
- VoteAccounts
- Wallet
- Wordlists
- WrappingToken
Protocols
Global Typealiases
- Bignum
- BorshCodable
- Commitment
- Decimals
- Int1024
- Int128
- Int1X
- Int256
- Int512
- Lamports
- RequestEncoder
- ResponseDecoder
- SPLTokenDestinationAddress
- SocketLogsNotification
- SocketNativeAccountNotification
- SocketProgramAccountNotification
- SocketSignatureNotification
- SocketSubscriptionResponse
- SocketTokenAccountNotification
- SocketUnsubscriptionResponse
- TransactionError
- TransactionID
- UInt1024
- UInt128
- UInt1X
- UInt256
- UInt512
Global Functions
- abs(_:)
- checkAccountValidation(account:)
- checkIfAssociatedTokenAccountExists(owner:mint:)
- connect()
- disconnect()
- findSPLTokenDestinationAddress(mintAddress:destinationAddress:)
- getAccountInfo(account:)
- getBalance(account:commitment:)
- getBlockCommitment(block:)
- getBlockHeight()
- getBlockTime(block:)
- getClusterNodes()
- getConfirmedBlock(slot:encoding:)
- getConfirmedBlocksWithLimit(startSlot:limit:)
- getConfirmedSignaturesForAddress(account:startSlot:endSlot:)
- getEpochInfo(commitment:)
- getFees(commitment:)
- getMinimumBalanceForRentExemption(dataLength:commitment:)
- getMinimumBalanceForRentExemption(span:)
- getMultipleAccounts(pubkeys:)
- getMultipleMintDatas(mintAddresses:programId:)
- getRecentBlockhash()
- getRecentBlockhash(commitment:)
- getSignatureStatus(signature:configs:)
- getSignatureStatuses(signatures:configs:)
- getTokenAccountBalance(pubkey:commitment:)
- getTokenAccountsByDelegate(pubkey:mint:programId:configs:)
- getTokenAccountsByOwner(pubkey:params:configs:)
- getTokenLargestAccounts(pubkey:commitment:)
- getTokenSupply(pubkey:commitment:)
- getTokenWallets(account:tokensRepository:)
- getTokensList(useCache:)
- getTransaction(transactionSignature:)
- getVersion()
- getVoteAccounts(commitment:)
- minimumLedgerSlot()
- observeSignatureStatus(signature:)
- observeSignatureStatus(signature:timeout:delay:)
- parse(network:)
- prepareCreatingWSOLAccountAndCloseWhenDone(from:amount:payer:minRentExemption:)
- prepareForCreatingAssociatedTokenAccount(owner:mint:feePayer:closeAfterward:)
- prepareSendingNativeSOL(from:to:amount:feePayer:)
- prepareSendingSPLTokens(account:mintAddress:decimals:from:to:amount:feePayer:transferChecked:lamportsPerSignature:minRentExemption:)
- prepareTransaction(instructions:signers:feePayer:feeCalculator:)
- request(with:)
- requestAirdrop(account:lamports:commitment:)
- requestData(request:)
- sendTransaction(preparedTransaction:)
- sendTransaction(transaction:configs:)
- setLogFilter(filter:)
- sha256(data:)
- simulateTransaction(preparedTransaction:)
- simulateTransaction(transaction:configs:)
- subscribe(type:params:commitment:)
- unsubscribe(type:socketId:)
- validatorExit()
Extensions
- Account
- Array
- Bool
- Data
- Dictionary
- Double
- Error
- FixedWidthInteger
- Float32
- Float64
- Int
- NSRegularExpression
- RawRepresentable
- Set
- Socket
- SocketLogsNotification
- SocketNativeAccountNotification
- SocketProgramAccountNotification
- SocketSignatureNotification
- SocketTokenAccountNotification
- String
- StringProtocol
- UInt32
- UInt64
- UInt8
- URLRequest
- URLSession