mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-28 23:27:36 +00:00
1e0750e3cd
Move result there also.
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"`
|
|
}
|