Skip to content

[SDK · Network & Horizon] Implement HorizonClient wrapper — fee stats endpoint #153

@amina69

Description

@amina69

Epic: Network & Horizon
Labels: network, tx, sdk
Size: XS (~2-4 hours)

Description

Wrap the Horizon fee_stats endpoint.

Tasks

  • getFeeStats(): fetch /fee_stats
  • Return {p10, p50, p90, p95, p99} accepted fees as strings in stroops
  • On network error: throw but catch in estimateFee() caller (not in this wrapper)
  • Unit test with mocked response

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