aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-spec/src/api.ts
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/api.ts
parentd77c6e13b0a6791fd2b5a5b134f61c3610beff5d (diff)
downloaddexon-sol-tools-4ed932380455d63227f61a2a757aacb494faf656.tar
dexon-sol-tools-4ed932380455d63227f61a2a757aacb494faf656.tar.gz
dexon-sol-tools-4ed932380455d63227f61a2a757aacb494faf656.tar.bz2
dexon-sol-tools-4ed932380455d63227f61a2a757aacb494faf656.tar.lz
dexon-sol-tools-4ed932380455d63227f61a2a757aacb494faf656.tar.xz
dexon-sol-tools-4ed932380455d63227f61a2a757aacb494faf656.tar.zst
dexon-sol-tools-4ed932380455d63227f61a2a757aacb494faf656.zip
Fix development flow
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),