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