Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Buintin = []*Chain{
local,
eth,
ethSepolia,
ethHolesky,
arbitrum,
arbitrumSepolia,
opMainnet,
opSepolia,
bscMainnet,
bscTestnet,
polygon,
polygonMubai,
base,
baseSepolia,
metis,
metisSepolia,
}
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain struct {
Name string // chain name
Id uint64 // chain id
Endpoint string `json:",omitempty"` // the rpc endpoint, https and wss supported
Explorer string `json:",omitempty"` // explorer api full endpoint
Alias []string `json:",omitempty"` // name alias, e.g. the name of eth mainnet is eth, you can also add alias like eth-mainnet
}
Click to show internal directories.
Click to hide internal directories.