alpha-wallet-ios
alpha-wallet-ios copied to clipboard
Check if OpenSea cursor-based API works similarly to offset-based and switch to cursor-based if it works
trafficstars
For the OpenSea API, it looks like the output will be either cursor-based (with previous and next) or offset-based depending on whether offset is provided in the URL.
i.e.:
if curl --header "X-API-KEY: <key>" --request GET -i --url 'https://api.opensea.io/api/v1/assets?owner=0xAF4CCF79104F6e6e326CaB0e96e615973F0A3E3A'
previous+next
else if curl --header "X-API-KEY: <key>" --request GET -i --url 'https://api.opensea.io/api/v1/assets?owner=0xAF4CCF79104F6e6e326CaB0e96e615973F0A3E3A&offset=0'
offset
- [ ] Create Android issue if verified