The strategy to use when fetching token accounts.
getTokenAccountsByOwner
getProgramAccounts
'getTokenAccountsByOwner'
Generated using TypeDoc
The strategy to use when fetching token accounts.
getTokenAccountsByOwneris the default and uses thegetTokenAccountsByOwnerRPC call.getProgramAccountsuses agetProgramAccountsRPC call to fetch the tokens. It is slightly faster but may be disabled on some RPC nodes.Default Value
'getTokenAccountsByOwner'