Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountData ¶
type RpcClient ¶
type RpcClient interface { Broadcast(ctx context.Context, txBytes []byte) (*txtypes.BroadcastTxResponse, error) Simulate(ctx context.Context, txBytes []byte) (*txtypes.SimulateResponse, error) Account(ctx context.Context, address string) (authtypes.AccountI, error) GetBalance(ctx context.Context, address, denom string) (*sdk.Coin, error) GetDelegators(ctx context.Context, validatorAddress string) ([]string, error) GetDenomMetadata(ctx context.Context, denom string) (*banktypes.Metadata, error) GetGrants(ctx context.Context, botAddress string) ([]*authztypes.GrantAuthorization, error) GetPendingRewards(ctx context.Context, delegator, validator, stakingDenom string) (sdk.Dec, error) GetTxStatus(ctx context.Context, txHash string) (*txtypes.GetTxResponse, error) }
Handles RPCs with Tendermint nodes
func NewGrpcClient ¶ added in v1.0.12
NewRpcClient makes a new RpcClient.
Click to show internal directories.
Click to hide internal directories.