etherscan API query
Use API: http://api.etherscan.io/api?module=account&action=txlist&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&startblock=0&endblock=99999999&sort=asc&apikey=YourApiKeyToken
Paging query
https://api.etherscan.io/api?module=account&action=txlist&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&startblock=0&endblock=99999999&page=1&offset=10&sort=asc&apikey=YourApiKeyToken
- module, action, module, sort are all fixed values
- startblock and endblock refer to the query of all specified address transactions in the two block intervals, usually startblock is 0 and endblock is set to "latest"
- Apikey needs to be applied for. Apikey is a parameter that needs to be used in etherscan to call those interfaces. It needs you to apply and you can get it after registering an account. Each account holds up to 3 tokens, request API service service, only one of them is required
Post comment 取消回复