Skip to content

Commit

Permalink
Merge pull request #50 from moltam89/fix-swap-v2-allowance-holder-hea…
Browse files Browse the repository at this point in the history
…dless-example

Add missing taker param
  • Loading branch information
jlin27 authored Jan 13, 2025
2 parents 38143c0 + 66d57e1 commit e8c5355
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions swap-v2-allowance-holder-headless-example/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ const main = async () => {

// 3. fetch quote
const quoteParams = new URLSearchParams();

quoteParams.append("taker", client.account.address);

for (const [key, value] of priceParams.entries()) {
quoteParams.append(key, value);
}
Expand Down

0 comments on commit e8c5355

Please sign in to comment.