diff --git a/content/api/aggregations/fee-stats/single.mdx b/content/api/aggregations/fee-stats/single.mdx index 353e272ef..c5f39e6d4 100644 --- a/content/api/aggregations/fee-stats/single.mdx +++ b/content/api/aggregations/fee-stats/single.mdx @@ -37,6 +37,28 @@ server console.error(err); }); ``` + +```go +package main + +import ( + "fmt" + "log" + + "github.com/stellar/go/clients/horizonclient" +) + +func main() { + client := horizonclient.DefaultPublicNetClient + + resp, err := client.FeeStats() + if err != nil { + log.Fatal(err) + return + } + fmt.Println(resp) +} +```