aptos-core icon indicating copy to clipboard operation
aptos-core copied to clipboard

[Feature Request] Add bulk getting interface for table

Open Disperito opened this issue 3 years ago • 1 comments

🚀 Feature Request

For now, if users want to get a series of table data items, they are only allowed to get one-by-one with the Get Table Item of REST API. This will result in the user needing to call the REST API multiple times in a short period of time, and will cause some performance issues. So I suggest that Aptos team can provider an API for getting table items in bulk.

Disperito avatar Oct 17 '22 02:10 Disperito

We run into the same issue. Overall we are very happy with how table works, but the off-chain access pattern can definitely be improved.

fardream avatar Oct 18 '22 21:10 fardream

This issue is stale because it has been open 45 days with no activity. Remove the stale label or comment - otherwise this will be closed in 15 days.

github-actions[bot] avatar Dec 23 '22 01:12 github-actions[bot]

I think the better solution for now is to use the indexer. This won't be addressed in the existing API.

davidiw avatar Dec 24 '22 05:12 davidiw