package validate_service

type Chain struct {
	Platform   string  `json:"platform" validate:"required"`
	Address    string  `json:"address" validate:"required"`
	PrivateKey string  `json:"private_key" validate:"required"`
	Execer     string  `json:"execer" validate:"required"`
	Token      string  `json:"token" validate:"required"`
	Fee        float32 `json:"fee" validate:"required"`
	BrowerUrl  string  `json:"brower_url" validate:"required,url"`
}

type EditChain struct {
	Chain
	Id int `json:"id" validate:"required"`
}
