Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Commit d4d4f32

Browse files
author
Jessica Lin
authored
Document differences in skipValidation for /price on ropsten and mainnet
1 parent d9e3922 commit d4d4f32

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mdx/api/index.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,10 @@ Nearly identical to [`/swap/v1/quote`](#get-swapv1quote), but with a few key dif
709709

710710
### Request
711711

712-
Identical to the request schema for `/swap/v1/quote`.
712+
Identical to the request schema for `/swap/v1/quote`, with one exception: the `skipValidation` parameter -
713+
* On Mainnet, `skipValidation` is always considered `true`, even when a `takerAddress` has been specified. Note that this will change soon to behave as it does on Ropstsen.
714+
* On Ropsten, `skipValidation` behaves identically to that on `/swap/v1/quote`. For details, see the `skipValidation` parameter in the [/swap/v1/quote Request](https://0x.org/docs/api#request-1) section.
715+
713716

714717
### Response
715718

0 commit comments

Comments
 (0)