aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-spec/src
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-09-26 19:19:01 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-09-26 19:19:01 +0800
commit4ed932380455d63227f61a2a757aacb494faf656 (patch)
tree0d2f0da6707ccc457d46ab564203a567f31c0996 /packages/sra-spec/src
parentd77c6e13b0a6791fd2b5a5b134f61c3610beff5d (diff)
downloaddexon-0x-contracts-4ed932380455d63227f61a2a757aacb494faf656.tar.gz
dexon-0x-contracts-4ed932380455d63227f61a2a757aacb494faf656.tar.zst
dexon-0x-contracts-4ed932380455d63227f61a2a757aacb494faf656.zip
Fix development flow
Diffstat (limited to 'packages/sra-spec/src')
-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),