aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-spec/src/api.ts
diff options
context:
space:
mode:
authorFrancesco Agosti <francesco.agosti93@gmail.com>2018-09-26 21:34:26 +0800
committerGitHub <noreply@github.com>2018-09-26 21:34:26 +0800
commitc429409ed7a77a67368850f2e736126da0d213dd (patch)
tree08819f84186a0acf84411eca7c874e5164cf378f /packages/sra-spec/src/api.ts
parent13aa98f0f3431e4ea4db07794a06304c237e8d45 (diff)
parentf15751d800d813e97b72a861547a9caa1d0d5e56 (diff)
downloaddexon-sol-tools-c429409ed7a77a67368850f2e736126da0d213dd.tar
dexon-sol-tools-c429409ed7a77a67368850f2e736126da0d213dd.tar.gz
dexon-sol-tools-c429409ed7a77a67368850f2e736126da0d213dd.tar.bz2
dexon-sol-tools-c429409ed7a77a67368850f2e736126da0d213dd.tar.lz
dexon-sol-tools-c429409ed7a77a67368850f2e736126da0d213dd.tar.xz
dexon-sol-tools-c429409ed7a77a67368850f2e736126da0d213dd.tar.zst
dexon-sol-tools-c429409ed7a77a67368850f2e736126da0d213dd.zip
Merge pull request #1091 from 0xProject/feature/sra-spec/order-config-to-post-and-other-bugs
[connect][sra-spec] Update sra-spec and connect to have /order_config be a POST and other small improvements
Diffstat (limited to 'packages/sra-spec/src/api.ts')
-rw-r--r--packages/sra-spec/src/api.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sra-spec/src/api.ts b/packages/sra-spec/src/api.ts
index f80d343d8..7cecb0369 100644
--- a/packages/sra-spec/src/api.ts
+++ b/packages/sra-spec/src/api.ts
@@ -249,7 +249,7 @@ export const api: OpenApiSpec = {
},
},
'/v2/order_config': {
- get: {
+ post: {
description: `Relayers have full discretion over the orders that they are willing to host on their orderbooks (e.g what fees they charge, etc...). In order for traders to discover their requirements programmatically, they can send an incomplete order to this endpoint and receive the missing fields, specifc to that order. This gives relayers a large amount of flexibility to tailor fees to unique traders, trading pairs and volume amounts. Submit a partial order and receive information required to complete the order: \`senderAddress\`, \`feeRecipientAddress\`, \`makerFee\`, \`takerFee\`. `,
operationId: 'getOrderConfig',
parameters: generateParameters([], false),