teloscan
teloscan copied to clipboard
#789 | Fetch internal transactions from new API
Fixes #789
Blocked by https://github.com/telosnetwork/teloscan-indexer/pull/275
Description
This PR adapts the component showing the last internal transaction for a given address or in general. The count column was removed along with the expand/collapse column because now we can paginate directly from the internal transaction API instead of having to fetch transactions first in order to then fetch the corresponding internal transactions for each previous result.
However, given the fact that the API is not completely ready, a result sample was hardcoded and the fetching of the data is currently simulated (with 2 seconds of simulated loading) to show the new component in action while we wait for the indexer API to be completed.