Skip to content

Updates 0x API parameters documentation for RFQ#318

Closed
PirosB3 wants to merge 2 commits intodevelopmentfrom
rfq-integration
Closed

Updates 0x API parameters documentation for RFQ#318
PirosB3 wants to merge 2 commits intodevelopmentfrom
rfq-integration

Conversation

@PirosB3
Copy link
Copy Markdown

@PirosB3 PirosB3 commented Jul 27, 2020

No description provided.

@PirosB3 PirosB3 requested a review from feuGeneA July 27, 2020 20:54
@PirosB3 PirosB3 mentioned this pull request Jul 27, 2020
3 tasks
| `gasPrice` | (Optional, defaults to ethgasstation "fast") The target gas price (in wei) for the swap transaction. If the price is too low to achieve the quote, an error will be returned. |
| `takerAddress` | (Optional) The address which will fill the quote. When provided the gas will be estimated and returned. An eth_call will also be performed. If this fails a Revert Error will be returned in the response. |
| `excludedSources` | (Optional) Liquidity sources (`Eth2Dai`, `Uniswap`, `Kyber`, `0x`, `LiquidityProvider` etc) that will not be included in the provided quote. Ex: `excludedSources=Uniswap,Kyber,Eth2Dai`. See [here](https://github.com/0xProject/0x-monorepo/blob/development/packages/asset-swapper/src/utils/market_operation_utils/types.ts#L27) for a full list of sources |
| `includedSources` | (Optional) For now only supports `RFQT`, which should be used when the integrator only wants RFQT liquidity without any other DEX orders. Requires a particular agreement with the 0x integrations team. This parameter cannot be combined with `includedSources`. |
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO I think we should leave these RFQT params out for now until we get the complete RFQT documentation out

feuGeneA added a commit that referenced this pull request Aug 13, 2020
Changes ported from #318

at the request of @PirosB3 in comment #322 (comment)
@feuGeneA
Copy link
Copy Markdown
Contributor

Hi Daniel! Would you mind closing out this PR or at least removing me from the Reviewers? I'd love to get it off my list. I hope you've been well! Thank you!

@feuGeneA
Copy link
Copy Markdown
Contributor

Hi @PirosB3 ! Would you mind closing out this PR or at least removing me from the Reviewers? I'd love to get it off my list of pending review requests. I hope you've been well! Thank you!

@PirosB3 PirosB3 closed this Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants