diff --git a/.pending/breaking/sdk/4536-The-auth-accoun b/.pending/breaking/sdk/4536-The-auth-accoun new file mode 100644 index 0000000000..320c8a920d --- /dev/null +++ b/.pending/breaking/sdk/4536-The-auth-accoun @@ -0,0 +1,2 @@ +#4536 The `/auth/accounts/{address}` now returns a `height` in the response. +The account is now nested under `account`. diff --git a/x/auth/client/rest/query.go b/x/auth/client/rest/query.go index a6900969ce..0c54ddd508 100644 --- a/x/auth/client/rest/query.go +++ b/x/auth/client/rest/query.go @@ -17,8 +17,8 @@ import ( // AccountWithHeight wraps the embedded Account with the height it was queried // at. type AccountWithHeight struct { - types.Account - Height int64 `json:"height"` + types.Account `json:"account"` + Height int64 `json:"height"` } // query accountREST Handler