You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the free webhooks from the [Accounts](https://etherscan.io/apis#accounts), [Contracts](https://etherscan.io/apis#contracts), [Transactions](https://etherscan.io/apis#transactions) and [Tokens](https://etherscan.io/apis#tokens) modules are supported. Their example use-cases are summarized [here](https://api.etherscan.io/apis).
13
+
All of the *free* GET endpoints from the following modules are provided:
Examples (arguments and results) for all methods may be found as JSON files [here](https://github.com/pcko1/etherscan-python/tree/master/logs).
77
+
## Examples
78
+
79
+
Examples (arguments and results) forall methods may be found as JSON files [here](https://github.com/pcko1/etherscan-python/tree/master/logs). For example, if you want to use the method `get_block_number_by_timestamp` , you can find the supported arguments and the format of its outputin its respective [JSON file](logs/get_block_number_by_timestamp.json):
80
+
81
+
``` json
82
+
{
83
+
"method": "get_block_number_by_timestamp",
84
+
"module": "blocks",
85
+
"kwargs": {
86
+
"timestamp": "1578638524",
87
+
"closest": "before"
88
+
},
89
+
"log_timestamp": "2020-09-30-15:39:18",
90
+
"res": "9251482"
91
+
}
92
+
```
93
+
94
+
where `kwargs` refer to the required arguments and `res` refers to the expected result if you run:
**Disclaimer**: Those examples blindly use the arguments originally showcased [here](https://api.etherscan.io/apis) and the selected wallets/contracts do not reflect any personal views. You should refer to the same sourcefor additional information regarding specific argument values.
101
+
102
+
## Issues
103
+
104
+
For problems regarding installing or using the package please open an [issue](https://github.com/pcko1/etherscan-python/issues). If you think that a newly-added method is missing, also open an issue as a feature request and I will do my best to add it. Kindly avoid disclosing potentially sensitive information such as your API keys or your wallet addresses.
64
105
65
106
___
66
107
Powered by [Etherscan.io APIs](https://etherscan.io/apis).
0 commit comments