diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-09-26 19:19:01 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-09-26 19:19:01 +0800 |
commit | 4ed932380455d63227f61a2a757aacb494faf656 (patch) | |
tree | 0d2f0da6707ccc457d46ab564203a567f31c0996 /packages/sra-spec/src/api.ts | |
parent | d77c6e13b0a6791fd2b5a5b134f61c3610beff5d (diff) | |
download | dexon-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.ts | 2 |
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), |