Closed Noodles0x00 closed 1 year ago
example code
def check_api(address):
headers = {
'Content-Type': 'application/json',
'X-API-Key': 'api',
}
json_data = {
'row': 1,
'page': 1,
'address': address,
}
response = requests.post('https://polymesh.api.subscan.io/api/v2/scan/transfers', headers=headers, json=json_data)
@Noodles0x00 You should query using page= 0
json_data = { 'row': 1, 'page': 0, 'address': address, }`
Confirmation
Affected Network(s)
polymesh
Steps to reproduce
try to call the api on a specific address with parameters
row: 1 page: 1 address: (polyx address)
Expected output
returns the very last transaction
Actual output
returns the second last transaction
Additional factoids or references
No response