Skip to content

[SDK · Network & Horizon] Implement HorizonClient wrapper — transactions endpoint #152

Description

@amina69

Epic: Network & Horizon
Labels: network, tx, sdk
Size: S (~1 day)

Description

Wrap the Horizon transactions endpoint for fetching transaction history and individual transactions.

Tasks

  • getTransaction(hash): fetch single transaction by hash
  • getAccountTransactions(accountId, {limit, cursor}): paginated transaction list
  • On 404: return null (not an error for polling)
  • Support cursor-based pagination, return nextCursor
  • Unit test: fetch by hash, not found returns null, pagination

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions