Creates a low-level wallet query helper.
Configured AftermathApi whose gRPC client supplies balance
data and whose optional JSON-RPC client supplies transaction history.
Fetches every coin balance for a wallet address through paginated Sui gRPC requests.
The helper follows listBalances cursors until the client reports no next
page. It returns each balance as a bigint in the coin's smallest unit and
pads the package address in each returned coin type to 64 hexadecimal digits.
This method does not accept an AbortSignal.
The wallet balance request.
The Sui address string whose balances to fetch.
A record keyed by normalized coin types with balances in smallest units.
Fetches one coin balance for a wallet address through Sui gRPC.
The owner address is sent unchanged. The coin type is stripped of leading
zeroes before it is sent to SuiGrpcClient.getBalance. The returned decimal
balance is converted to a bigint in the coin's smallest unit.
This method does not accept an AbortSignal.
The wallet balance request.
The Sui coin type to query, such as
"0x2::sui::SUI".
The Sui address string that owns the balance.
The balance in the coin's smallest unit.
Fetches a page of transactions whose sender is the supplied wallet address.
This method calls Transactions().fetchTransactionsWithCursor with a
FromAddress filter. It requests events, balance changes, effects, object
changes, and transaction input in each result. The optional cursor and limit
control pagination, and the returned nextCursor is null when no page
remains.
This method does not accept an AbortSignal.
The sender filter and pagination options.
Optionalcursor?: stringAn optional transaction digest from the previous page.
Optionallimit?: numberAn optional maximum number of transactions to request.
The Sui address string used as the FromAddress
filter. This method does not include transactions where the address only
appears as a recipient or another participant.
The transaction page and its next transaction digest, if another page exists.
Provides low-level wallet queries through a configured
AftermathApi.Balance methods call the configured
SuiGrpcClientand return on-chain balances asbigints in smallest units. Transaction history uses the optional JSON-RPC client because the Sui gRPC client has no equivalent query. None of these methods accepts anAbortSignal.Prefer AftermathApi.Wallet when the caller already has an
AftermathApiinstance.