We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c01ef7f commit fee45c9Copy full SHA for fee45c9
README_ZH.md
@@ -24,7 +24,16 @@ import (
24
func main() {
25
// 创建连接指定网络的客户端
26
client := etherscan.New(etherscan.Mainnet, "[your API key]")
27
-
+
28
+ // 或者,如果你要调用的是EtherScan家族的BscScan:
29
+ //
30
+ // client := etherscan.NewCustomized(etherscan.Customization{
31
+ // Timeout: 15 * time.Second,
32
+ // Key: "You key here",
33
+ // BaseURL: "https://api.bscscan.com/api?",
34
+ // Verbose: false,
35
+ // })
36
37
// (可选)按需注册钩子函数,例如用于速率控制
38
client.BeforeRequest = func(module, action string, param map[string]interface{}) error {
39
// ...
0 commit comments