kaijchang2
7 months ago  Karma: 19846
ETHplorer API help

json.loads(requests.get('https://api.ethplorer.io/getAddressTransactions/{}?apiKey=freekey&timestamp={}'.format(addr, 1522276179)).text)

I have this code (in python), and it returns {'error': {'code': 108, 'message': 'Invalid timestamp'}}, though it asks for UNIX timestamp, which I put.

en
python
ethplorer
kaijchang2
7 months ago  Karma: 19846
ETHplorer API help

json.loads(requests.get('https://api.ethplorer.io/getAddressTransactions/{}?apiKey=freekey&timestamp={}'.format(addr, 1522276179)).text)

I have this code (in python), and it returns {'error': {'code': 108, 'message': 'Invalid timestamp'}}, though it asks for UNIX timestamp, which I put.

en
python
ethplorer

ONE ANSWER
andelf
7 months ago Karma: 0
requests.get('https://api.ethplorer.io/getAddressTransactions/{}?apiKey=freekey&timestamp={}'.format(addr, int(time.time()))).json()
requests.get('https://api.ethplorer.io/getAddressTransactions/{}?apiKey=freekey&timestamp={}'.format(addr, int(time.time()))).json()
Earn tokens by posting and answering questions about blockchain!
Karma to eth
YOUR ANSWER