2020-01-13 11:33:04 +03:00
|
|
|
package result
|
2019-02-13 21:18:47 +03:00
|
|
|
|
2022-04-20 21:30:09 +03: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 11:33:04 +03:00
|
|
|
type ValidateAddress struct {
|
2019-02-13 21:18:47 +03:00
|
|
|
Address interface{} `json:"address"`
|
|
|
|
IsValid bool `json:"isvalid"`
|
|
|
|
}
|