Documentation ¶
Index ¶
- type Client
- func (c *Client) BroadcastMode() string
- func (c *Client) ChainID() string
- func (c *Client) Client() rpcclient.Client
- func (c *Client) Copy() *Client
- func (c *Client) From() string
- func (c *Client) FromAddress() sdk.AccAddress
- func (c *Client) HasNodeForPlan(id uint64, address hubtypes.NodeAddress) (bool, error)
- func (c *Client) Keyring() keyring.Keyring
- func (c *Client) Log() tmlog.Logger
- func (c *Client) QueryAccount(address sdk.AccAddress) (authtypes.AccountI, error)
- func (c *Client) QueryNode(address hubtypes.NodeAddress) (*nodetypes.Node, error)
- func (c *Client) QueryQuota(id uint64, address sdk.AccAddress) (*subscriptiontypes.Quota, error)
- func (c *Client) QuerySession(id uint64) (*sessiontypes.Session, error)
- func (c *Client) QuerySubscription(id uint64) (*subscriptiontypes.Subscription, error)
- func (c *Client) SimulateAndExecute() bool
- func (c *Client) Tx(messages ...sdk.Msg) (res *sdk.TxResponse, err error)
- func (c *Client) TxConfig() client.TxConfig
- func (c *Client) WithAccountNumber(v uint64) *Client
- func (c *Client) WithAccountRetriever(v client.AccountRetriever) *Client
- func (c *Client) WithBroadcastMode(v string) *Client
- func (c *Client) WithChainID(v string) *Client
- func (c *Client) WithClient(v rpcclient.Client) *Client
- func (c *Client) WithFees(v string) *Client
- func (c *Client) WithFrom(v string) *Client
- func (c *Client) WithFromAddress(v sdk.AccAddress) *Client
- func (c *Client) WithFromName(v string) *Client
- func (c *Client) WithGas(v uint64) *Client
- func (c *Client) WithGasAdjustment(v float64) *Client
- func (c *Client) WithGasPrices(v string) *Client
- func (c *Client) WithGenerateOnly(v bool) *Client
- func (c *Client) WithHeight(v int64) *Client
- func (c *Client) WithHomeDir(v string) *Client
- func (c *Client) WithInput(v io.Reader) *Client
- func (c *Client) WithInterfaceRegistry(v codectypes.InterfaceRegistry) *Client
- func (c *Client) WithJSONMarshaler(v codec.JSONMarshaler) *Client
- func (c *Client) WithKeyring(v keyring.Keyring) *Client
- func (c *Client) WithKeyringDir(v string) *Client
- func (c *Client) WithLegacyAmino(v *codec.LegacyAmino) *Client
- func (c *Client) WithLogger(v tmlog.Logger) *Client
- func (c *Client) WithMemo(v string) *Client
- func (c *Client) WithNodeURI(v string) *Client
- func (c *Client) WithOffline(v bool) *Client
- func (c *Client) WithOutput(v io.Writer) *Client
- func (c *Client) WithOutputFormat(v string) *Client
- func (c *Client) WithSequence(v uint64) *Client
- func (c *Client) WithSignMode(v string) *Client
- func (c *Client) WithSimulate(v bool) *Client
- func (c *Client) WithSimulateAndExecute(v bool) *Client
- func (c *Client) WithSkipConfirm(v bool) *Client
- func (c *Client) WithTimeoutHeight(v uint64) *Client
- func (c *Client) WithTxConfig(v client.TxConfig) *Client
- func (c *Client) WithUseLedger(v bool) *Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewDefaultClient ¶
func NewDefaultClient() *Client
func (*Client) BroadcastMode ¶
func (*Client) FromAddress ¶
func (c *Client) FromAddress() sdk.AccAddress
func (*Client) HasNodeForPlan ¶
func (*Client) QueryAccount ¶
func (*Client) QueryQuota ¶
func (c *Client) QueryQuota(id uint64, address sdk.AccAddress) (*subscriptiontypes.Quota, error)
func (*Client) QuerySession ¶
func (c *Client) QuerySession(id uint64) (*sessiontypes.Session, error)
func (*Client) QuerySubscription ¶
func (c *Client) QuerySubscription(id uint64) (*subscriptiontypes.Subscription, error)
func (*Client) SimulateAndExecute ¶
func (*Client) WithAccountNumber ¶
func (*Client) WithAccountRetriever ¶
func (c *Client) WithAccountRetriever(v client.AccountRetriever) *Client
func (*Client) WithBroadcastMode ¶
func (*Client) WithChainID ¶
func (*Client) WithFromAddress ¶
func (c *Client) WithFromAddress(v sdk.AccAddress) *Client
func (*Client) WithFromName ¶
func (*Client) WithGasAdjustment ¶
func (*Client) WithGasPrices ¶
func (*Client) WithGenerateOnly ¶
func (*Client) WithHeight ¶
func (*Client) WithHomeDir ¶
func (*Client) WithInterfaceRegistry ¶
func (c *Client) WithInterfaceRegistry(v codectypes.InterfaceRegistry) *Client
func (*Client) WithJSONMarshaler ¶
func (c *Client) WithJSONMarshaler(v codec.JSONMarshaler) *Client
func (*Client) WithKeyringDir ¶
func (*Client) WithLegacyAmino ¶
func (c *Client) WithLegacyAmino(v *codec.LegacyAmino) *Client
func (*Client) WithNodeURI ¶
func (*Client) WithOffline ¶
func (*Client) WithOutputFormat ¶
func (*Client) WithSequence ¶
func (*Client) WithSignMode ¶
func (*Client) WithSimulate ¶
func (*Client) WithSimulateAndExecute ¶
func (*Client) WithSkipConfirm ¶
func (*Client) WithTimeoutHeight ¶
func (*Client) WithUseLedger ¶
Click to show internal directories.
Click to hide internal directories.