I would like to make a function that returns 3 arrays, but I believe in some moment the arrays might be big enough that even reading them from an RPC might be avoided by the RPC provider...
For example, a function that returns:
returns (address[] memory _stakerAddresses,
uint256[] memory _stakerAmounts,
uint256[] memory stakerTimestamps
)
Would take too long to fetch maybe 1 million of each. In this scenario what is best to do?
maybe split fetching these arrays into peices?
Does an dedicated RPC from Alchemy has any guarantees on fetching without reverting this data?