Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (16 sloc) 463 Bytes
package types
import (
sdk "github.com/cosmos/cosmos-sdk/types"
)
// query endpoints supported by the auth Querier
const (
QueryAccount = "account"
)
// QueryAccountParams defines the params for querying accounts.
type QueryAccountParams struct {
Address sdk.AccAddress
}
// NewQueryAccountParams creates a new instance of QueryAccountParams.
func NewQueryAccountParams(addr sdk.AccAddress) QueryAccountParams {
return QueryAccountParams{Address: addr}
}
You can’t perform that action at this time.