neoneo-go/pkg/neorpc/result/validate_address.go
Roman Khimov 1e0750e3cd rpc: merge response and request under pkg/neorpc
Move result there also.
2022-07-25 11:57:53 +03:00

9 lines
347 B
Go

package result
// ValidateAddress represents a result of the `validateaddress` call. Notice that
// Address is an interface{} here because the server echoes back whatever address
// value a user has sent to it, even if it's not a string.
type ValidateAddress struct {
Address interface{} `json:"address"`
IsValid bool `json:"isvalid"`
}