2020-01-13 08:33:04 +00:00
|
|
|
package result
|
2019-02-13 18:18:47 +00:00
|
|
|
|
2022-04-20 18:30:09 +00:00
|
|
|
// 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.
|
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"`
|
|
|
|
}
|