PollarPollar
Core Concepts

Transaction History

Pollar uses Horizon (and RPC where applicable) to read network state: balances, transactions and contract results.

Queries from the SDK

The StellarClient in @pollar/core exposes typical queries:

  • Balances: getBalance(address) to get balances for an account.
  • Transactions: payment preparation and contract invocation return XDR; submission returns txHash so the app can track the transaction in an explorer or Horizon.

Typical flow

  1. The app gets wallet context (address, state) via the SDK.
  2. For a payment: preparePayment(...) → app or Relay signs and submits → txHash is returned.
  3. For a contract: prepareContractInvocation(...) → sign and submit → txHash and result.

Detailed history (list of transactions per account, pagination, filters) can be implemented in your backend by calling Horizon with the wallet address, or extended in the SDK in future versions.

On this page

Was this helpful?