Documentation ¶
Index ¶
- func NewGrpcConn(rawUrl string) (*grpc.ClientConn, error)
- type Client
- func (cli *Client) AppVersion() (string, error)
- func (cli *Client) AuthQuery() authtypes.QueryClient
- func (cli *Client) AuthzQuery() authz.QueryClient
- func (cli *Client) BankQuery() banktypes.QueryClient
- func (cli *Client) BroadcastTx(txRaw *tx.TxRaw, mode ...tx.BroadcastMode) (*sdk.TxResponse, error)
- func (cli *Client) BroadcastTxBytes(txBytes []byte, mode ...tx.BroadcastMode) (*sdk.TxResponse, error)
- func (cli *Client) BuildTxRaw(privKey cryptotypes.PrivKey, msgs []sdk.Msg, gasLimit, timeout uint64, ...) (*tx.TxRaw, error)
- func (cli *Client) CrosschainQuery() crosschaintypes.QueryClient
- func (cli *Client) CurrentPlan() (*upgradetypes.Plan, error)
- func (cli *Client) DistrQuery() distrtypes.QueryClient
- func (cli *Client) ERC20Query() erc20types.QueryClient
- func (cli *Client) EVMQuery() evmtypes.QueryClient
- func (cli *Client) EstimatingGas(raw *tx.TxRaw) (*sdk.GasInfo, error)
- func (cli *Client) EvidenceQuery() evidencetypes.QueryClient
- func (cli *Client) FeegrantQuery() feegrant.QueryClient
- func (cli *Client) GetAddressPrefix() (string, error)
- func (cli *Client) GetBlockByHeight(blockHeight int64) (*cmtservice.Block, error)
- func (cli *Client) GetBlockHeight() (int64, error)
- func (cli *Client) GetBlockTimeInterval() (time.Duration, error)
- func (cli *Client) GetChainId() (string, error)
- func (cli *Client) GetConsensusValidators() ([]*cmtservice.Validator, error)
- func (cli *Client) GetGasPrices() (sdk.Coins, error)
- func (cli *Client) GetLatestBlock() (*cmtservice.Block, error)
- func (cli *Client) GetMintDenom() (string, error)
- func (cli *Client) GetModuleAccountByName(moduleName string) (sdk.AccountI, error)
- func (cli *Client) GetModuleAccounts() ([]sdk.AccountI, error)
- func (cli *Client) GetNodeInfo() (*cmtservice.VersionInfo, error)
- func (cli *Client) GetStakingDenom() (string, error)
- func (cli *Client) GetSyncing() (bool, error)
- func (cli *Client) GetValidators() ([]stakingtypes.Validator, error)
- func (cli *Client) GovQuery() govv1.QueryClient
- func (cli *Client) MigrateQuery() migratetypes.QueryClient
- func (cli *Client) MintQuery() minttypes.QueryClient
- func (cli *Client) QueryAccount(address string) (sdk.AccountI, error)
- func (cli *Client) QueryBalance(address, denom string) (sdk.Coin, error)
- func (cli *Client) QueryBalances(address string) (sdk.Coins, error)
- func (cli *Client) QuerySupply() (sdk.Coins, error)
- func (cli *Client) ServiceClient() tx.ServiceClient
- func (cli *Client) SlashingQuery() slashingtypes.QueryClient
- func (cli *Client) StakingQuery() stakingtypes.QueryClient
- func (cli *Client) TMServiceClient() cmtservice.ServiceClient
- func (cli *Client) TxByHash(txHash string) (*sdk.TxResponse, error)
- func (cli *Client) UpgradeQuery() upgradetypes.QueryClient
- func (cli *Client) WaitMined(txHash string, timeout, pollInterval time.Duration) (*sdk.TxResponse, error)
- func (cli *Client) WithBlockHeight(height int64) *Client
- func (cli *Client) WithChainId(chainId string) *Client
- func (cli *Client) WithContext(ctx context.Context) *Client
- func (cli *Client) WithGasPrices(gasPrices sdk.Coins) *Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGrpcConn ¶
func NewGrpcConn(rawUrl string) (*grpc.ClientConn, error)
Types ¶
type Client ¶
type Client struct { grpc1.ClientConn // contains filtered or unexported fields }
func (*Client) AppVersion ¶
func (*Client) AuthQuery ¶
func (cli *Client) AuthQuery() authtypes.QueryClient
func (*Client) AuthzQuery ¶
func (cli *Client) AuthzQuery() authz.QueryClient
func (*Client) BankQuery ¶
func (cli *Client) BankQuery() banktypes.QueryClient
func (*Client) BroadcastTx ¶
func (cli *Client) BroadcastTx(txRaw *tx.TxRaw, mode ...tx.BroadcastMode) (*sdk.TxResponse, error)
func (*Client) BroadcastTxBytes ¶
func (cli *Client) BroadcastTxBytes(txBytes []byte, mode ...tx.BroadcastMode) (*sdk.TxResponse, error)
func (*Client) BuildTxRaw ¶
func (*Client) CrosschainQuery ¶
func (cli *Client) CrosschainQuery() crosschaintypes.QueryClient
func (*Client) CurrentPlan ¶
func (cli *Client) CurrentPlan() (*upgradetypes.Plan, error)
func (*Client) DistrQuery ¶
func (cli *Client) DistrQuery() distrtypes.QueryClient
func (*Client) ERC20Query ¶
func (cli *Client) ERC20Query() erc20types.QueryClient
func (*Client) EVMQuery ¶
func (cli *Client) EVMQuery() evmtypes.QueryClient
func (*Client) EstimatingGas ¶
func (*Client) EvidenceQuery ¶
func (cli *Client) EvidenceQuery() evidencetypes.QueryClient
func (*Client) FeegrantQuery ¶
func (cli *Client) FeegrantQuery() feegrant.QueryClient
func (*Client) GetAddressPrefix ¶
func (*Client) GetBlockByHeight ¶
func (cli *Client) GetBlockByHeight(blockHeight int64) (*cmtservice.Block, error)
func (*Client) GetBlockHeight ¶
func (*Client) GetBlockTimeInterval ¶
func (*Client) GetChainId ¶
func (*Client) GetConsensusValidators ¶
func (cli *Client) GetConsensusValidators() ([]*cmtservice.Validator, error)
func (*Client) GetLatestBlock ¶
func (cli *Client) GetLatestBlock() (*cmtservice.Block, error)
func (*Client) GetMintDenom ¶
func (*Client) GetModuleAccountByName ¶
func (*Client) GetNodeInfo ¶
func (cli *Client) GetNodeInfo() (*cmtservice.VersionInfo, error)
func (*Client) GetStakingDenom ¶
func (*Client) GetSyncing ¶
func (*Client) GetValidators ¶
func (cli *Client) GetValidators() ([]stakingtypes.Validator, error)
func (*Client) GovQuery ¶
func (cli *Client) GovQuery() govv1.QueryClient
func (*Client) MigrateQuery ¶
func (cli *Client) MigrateQuery() migratetypes.QueryClient
func (*Client) MintQuery ¶
func (cli *Client) MintQuery() minttypes.QueryClient
func (*Client) QueryBalance ¶
func (*Client) ServiceClient ¶
func (cli *Client) ServiceClient() tx.ServiceClient
func (*Client) SlashingQuery ¶
func (cli *Client) SlashingQuery() slashingtypes.QueryClient
func (*Client) StakingQuery ¶
func (cli *Client) StakingQuery() stakingtypes.QueryClient
func (*Client) TMServiceClient ¶
func (cli *Client) TMServiceClient() cmtservice.ServiceClient
func (*Client) UpgradeQuery ¶
func (cli *Client) UpgradeQuery() upgradetypes.QueryClient
func (*Client) WithBlockHeight ¶
func (*Client) WithChainId ¶
Click to show internal directories.
Click to hide internal directories.