constants

package
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const UnreachableBlock int = 99999999
View Source
const UnreachableTimestamp int = 9999999999

Variables

View Source
var BlockscanCnf = map[string]blockscanInfo{
	chainId.ArbitrumChainName:     {URLHead: "https://api.arbiscan.io/api?", APIKey: "BCJX4984KDQ8A3U9WWH8P2EQKN76YV8T5T"},
	chainId.AvalancheChainName:    {URLHead: "https://api.snowtrace.io/api?", APIKey: "K6SR1G96B2SQBRWPI4JP8WXM6BCG62EPQ7"},
	chainId.BNBSmartChainName:     {URLHead: "https://api.bscscan.com/api?", APIKey: "34WQ9W88CSRHX4ZK59WNKKZYDAP5CEXINP"},
	chainId.EthereumChainName:     {URLHead: "https://api.etherscan.io/api?", APIKey: "RAFFHS8XP7K1FCBDFZS4TI2C9VHQBG77RP"},
	chainId.FantomChainName:       {URLHead: "https://api.ftmscan.com/api?", APIKey: "Q61VSDQJ7R6WQF5NJJRWDFZJJQDMW4ZR15"},
	chainId.HecoChainName:         {URLHead: "https://api.hecoinfo.com/api?", APIKey: "KC7PPFXMH6V187SGUDWD2XMGPCJXQWSPM5"},
	chainId.OptimismChainName:     {URLHead: "https://api-optimistic.etherscan.io/api?", APIKey: "RAFFHS8XP7K1FCBDFZS4TI2C9VHQBG77RP"},
	chainId.PolygonChainName:      {URLHead: "https://api.polygonscan.com/api?", APIKey: "Q31QP1KF13D6E298AJQ6X5ZHN373VDMF2S"},
	chainId.GnosisChainName:       {URLHead: "https://api.gnosisscan.io/api?", APIKey: "7N4F1SF35MC9ANIXQFGUTETAYI8H92X48Q"},
	chainId.ScrollChainName:       {URLHead: "https://api.scrollscan.com/api?", APIKey: "XKZMEPQJNH9QRQ3H6K8TIBIXV1MWX29NKQ"},
	chainId.PolygonZkEVMChainName: {URLHead: "https://https://api-zkevm.polygonscan.com/api?", APIKey: "AU75QXXFPGF4Q8PJAA1552WXK8E8AZ3ZUC"},
}

Use my own api keys.

Each key has a limit of 5 times/sec. Every one uses default keys will share the limit.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL