Skip to main content

Overview

The ValidatorClient handles transaction submission and blockchain queries through the Cosmos SDK RPC interface. Access via CompositeClient:

GET Methods

latestBlockHeight()

Get the current blockchain height.
Returns: Promise<number>

getAccountBalances()

Get wallet balances (source account, not subaccount).
string
required
Wallet address
Returns: 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
Returns: Promise<BroadcastTxResponse>

Cache Methods

populateAccountNumberCache()

Pre-populate account number cache for faster transactions.
string
required
Address to cache
Returns: Promise<void>
Call this before submitting multiple transactions to improve performance.

CompositeClient

Main client interface

Transfers Guide

Fund management operations