aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-api/src/api.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-23 06:46:45 +0800
committerFabio Berger <me@fabioberger.com>2018-08-23 06:46:45 +0800
commit61255309d2f7e2724d29f58f1c1493a1a87a182c (patch)
tree33eabfcf58f782fa2ccb070e05a6cd711af2ab29 /packages/sra-api/src/api.ts
parent27d329ff2559c643b54489d0796bb2c2fcda264f (diff)
parentcb19623a3aaf22a386bd4a7d6477048a604be9a2 (diff)
downloaddexon-sol-tools-61255309d2f7e2724d29f58f1c1493a1a87a182c.tar
dexon-sol-tools-61255309d2f7e2724d29f58f1c1493a1a87a182c.tar.gz
dexon-sol-tools-61255309d2f7e2724d29f58f1c1493a1a87a182c.tar.bz2
dexon-sol-tools-61255309d2f7e2724d29f58f1c1493a1a87a182c.tar.lz
dexon-sol-tools-61255309d2f7e2724d29f58f1c1493a1a87a182c.tar.xz
dexon-sol-tools-61255309d2f7e2724d29f58f1c1493a1a87a182c.tar.zst
dexon-sol-tools-61255309d2f7e2724d29f58f1c1493a1a87a182c.zip
merge development
Diffstat (limited to 'packages/sra-api/src/api.ts')
-rw-r--r--packages/sra-api/src/api.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/sra-api/src/api.ts b/packages/sra-api/src/api.ts
index 4143a663c..f80d343d8 100644
--- a/packages/sra-api/src/api.ts
+++ b/packages/sra-api/src/api.ts
@@ -151,6 +151,15 @@ export const api: OpenApiSpec = {
},
},
{
+ name: 'takerAddress',
+ in: 'query',
+ description: `Same as takerAddress in the [0x Protocol v2 Specification](https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md#order-message-format)`,
+ example: '0xe41d2489571d322189246dafa5ebde1f4699f498',
+ schema: {
+ $ref: '#/components/schemas/addressSchema',
+ },
+ },
+ {
name: 'traderAddress',
in: 'query',
description: `Same as traderAddress in the [0x Protocol v2 Specification](https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md#order-message-format)`,