28908aa3cf
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
9 lines
347 B
Go
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"`
|
|
}
|