-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
kind/bugSomething isn't workingSomething isn't working
Description
Confirmation
- My issue isn't already found on the issue tracker.
- I have read the Subscan API documentation (if it seemed to be an API bug).
Affected Network(s)
Polkadot, Kusama
Steps to reproduce
- Call the API for cross chain transfer (
/api/scan/xcm/list) for a wallet. - Try to use the
metadata.message_idfield in the last transfer entity inafter_idfield for next api call for pagination. - In the API response for first call, the
metadatafield is not available, hence no parameter for pagination.
Expected output
- Call the API for cross chain transfer (
/api/scan/xcm/list) for a wallet. - Try to use the
metadata.message_idfield in the last transfer entity inafter_idfield for next api call for pagination. - In the API response for first call, the
metadatafield is available and I am able to paginate to next page based onafter_id.
Actual output
- Call the API for cross chain transfer (
/api/scan/xcm/list) for a wallet. - Try to use the
metadata.message_idfield in the last transfer entity inafter_idfield for next api call for pagination. - In the API response for first call, the
metadatafield is available and I am able to paginate to next page based onafter_id.
Additional factoids or references
There is one more field named unique_id in the cross-chain API response. It is shown as optional in the API doc.
- Is is actually optional or always available in the response ?
- Is it safe to use it to paginate based on
after_idfield in the API body ?
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working