diff --git a/networks/networks.go b/networks/networks.go index f66b21f..af230f3 100644 --- a/networks/networks.go +++ b/networks/networks.go @@ -2,6 +2,7 @@ package networks import ( "strconv" + "time" "github.com/0xsequence/ethkit/ethproviders" ) @@ -30,6 +31,9 @@ type Network struct { InternalIndexerURL string `toml:"internal_indexer_url" json:"-"` InternalRelayerURL string `toml:"internal_relayer_url" json:"-"` + BlockInterval time.Duration `toml:"block_interval" json:"blockInterval,omitempty"` + BlockRetention int `toml:"block_retention" json:"blockRetention,omitempty"` + NativeToken *Currency `toml:"native_token" json:"nativeToken,omitempty"` Currencies []*Currency `toml:"currencies" json:"currencies,omitempty"` }