mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-25 13:56:35 +00:00
6b21ad9922
Everywhere including examples, external interop APIs, bindings generators code and in other valuable places. A couple of `interface{}` usages are intentionally left in the CHANGELOG.md, documentation and tests.
9 lines
333 B
Go
9 lines
333 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 any `json:"address"`
|
|
IsValid bool `json:"isvalid"`
|
|
}
|