neo-go/pkg/rpc/response/result/validate_address.go
Elizaveta Chichindaeva 28908aa3cf [#2442] English Check
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-04 19:48:27 +03:00

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"`
}