From 5442afbeb1eb7119b957a923113a3e47f8db32bb Mon Sep 17 00:00:00 2001 From: Matthew Pereira Date: Wed, 16 Oct 2024 10:57:29 -0700 Subject: [PATCH] add changeset --- .changeset/smooth-badgers-battle.md | 5 +++++ examples/swaps/swap.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/smooth-badgers-battle.md diff --git a/.changeset/smooth-badgers-battle.md b/.changeset/smooth-badgers-battle.md new file mode 100644 index 00000000..1cd98422 --- /dev/null +++ b/.changeset/smooth-badgers-battle.md @@ -0,0 +1,5 @@ +--- +"@balancer/sdk": patch +--- + +Add support for userData to v3 swaps diff --git a/examples/swaps/swap.ts b/examples/swaps/swap.ts index e8638392..5ec8733e 100644 --- a/examples/swaps/swap.ts +++ b/examples/swaps/swap.ts @@ -62,6 +62,7 @@ const swap = async () => { chainId, paths: sorPaths, swapKind, + userData: '0x', }; // Swap object provides useful helpers for re-querying, building call, etc