diff --git a/content/api/aggregations/paths/strict-send.mdx b/content/api/aggregations/paths/strict-send.mdx index 7bbba5dd9..69a4b207a 100644 --- a/content/api/aggregations/paths/strict-send.mdx +++ b/content/api/aggregations/paths/strict-send.mdx @@ -74,6 +74,34 @@ server }); ``` +```go +package main + +import ( + "fmt" + "github.com/stellar/go/clients/horizonclient" + "log" +) + +func main() { + client := horizonclient.DefaultPublicNetClient + pathRequest := horizonclient.StrictSendPathsRequest { + DestinationAccount: "GAYOLLLUIZE4DZMBB2ZBKGBUBZLIOYU6XFLW37GBP2VZD3ABNXCW4BVA", + SourceAssetType: horizonclient.AssetType4, + SourceAssetCode: "BRL", + SourceAssetIssuer: "GDVKY2GU2DRXWTBEYJJWSFXIGBZV6AZNBVVSUHEPZI54LIS6BA7DVVSP", + SourceAmount: "400", + } + + resp, err := client.StrictSendPaths(pathRequest) + if err != nil { + log.Fatal(err) + return + } + fmt.Println(resp) +} +``` +