Overview
TheValidatorClient handles transaction submission and blockchain queries through the Cosmos SDK RPC interface.
Access via CompositeClient:
GET Methods
latestBlockHeight()
Get the current blockchain height.Promise<number>
getAccountBalances()
Get wallet balances (source account, not subaccount).Wallet address
Promise<Coin[]>
POST Methods
sendToken()
Send tokens from source wallet.Sender subaccount
Recipient address
Token denomination
Amount to send
Promise<BroadcastTxResponse>
Cache Methods
populateAccountNumberCache()
Pre-populate account number cache for faster transactions.Address to cache
Promise<void>