Skip to content

Commit

Permalink
dex=best
Browse files Browse the repository at this point in the history
  • Loading branch information
ronidavelman committed Sep 29, 2019
1 parent 14fe1f0 commit ff8eb25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const sdk = DEXAG.fromProvider(window.ethereum);
## Get the best price for 1 DAI with ETH
```
// pass trade parameters to get the transaction data
const tx = await sdk.getTrade({to: 'DAI', from: 'ETH', toAmount: 1});
const tx = await sdk.getTrade({to: 'DAI', from: 'ETH', toAmount: 1, dex: 'Best'});
```

## Checkout
Expand Down

0 comments on commit ff8eb25

Please sign in to comment.