Skip to main content Link Menu Expand (external link) Document Search Copy Copied

TokenBalance

Model getters

Method name Return type Description Notes
getAccountIndex() float Index of the account in which the token balance is provided for.
Example: 1
[optional]
getMint() string Pubkey of the token’s mint.
Example: So11111111111111111111111111111111111111112
[optional]
getOwner() string Pubkey of token balance’s owner.
Example: BYM81n8HvTJuqZU1PmTVcwZ9G8uoji7FKM6EaPkwphPt
[optional]
getProgramId() string Pubkey of the Token program that owns the account.
Example: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
[optional]
getUiTokenAmount() \Tatum\Model\UiTokenAmount
Example: null
[optional]