Function useAccountsData

  • Fetches data of the given accounts.

    Deprecated

    use useBatchedParsedAccounts instead

    Returns

    One of three types:

    • Buffer -- the account was found
    • null -- account not found or an error occurred while loading the account
    • undefined -- account key not provided or not yet loaded

    Parameters

    • keys: (undefined | null | PublicKey)[]

      Keys to fetch. Ensure that this is memoized or unlikely to change.

    Returns readonly AccountDatum[]

Generated using TypeDoc