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).string
required
Wallet address
Promise<Coin[]>
POST Methods
sendToken()
Send tokens from source wallet.SubaccountInfo
required
Sender subaccount
string
required
Recipient address
string
required
Token denomination
string
required
Amount to send
Promise<BroadcastTxResponse>
Cache Methods
populateAccountNumberCache()
Pre-populate account number cache for faster transactions.string
required
Address to cache
Promise<void>
Related
CompositeClient
Main client interface
Transfers Guide
Fund management operations