2020-01-13 08:33:04 +00:00
|
|
|
package result
|
2019-02-13 18:18:47 +00:00
|
|
|
|
2020-01-13 08:33:04 +00:00
|
|
|
// ValidateAddress represents result of the `validateaddress` call. Notice that
|
2020-01-13 08:27:22 +00:00
|
|
|
// Address is an interface{} here because server echoes back whatever address
|
|
|
|
// value user has sent to it, even if it's not a string.
|
2020-01-13 08:33:04 +00:00
|
|
|
type ValidateAddress struct {
|
2019-02-13 18:18:47 +00:00
|
|
|
Address interface{} `json:"address"`
|
|
|
|
IsValid bool `json:"isvalid"`
|
|
|
|
}
|