aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-api/src/examples
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-08 08:42:22 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-08 08:42:52 +0800
commit95b656f360f635447725e00bb90642f1b859477a (patch)
tree03eeb10b3607ad56cc4f1021d3ab1ed81a08f0ec /packages/sra-api/src/examples
parentb0a7db81cb2bde774f410938578476200d1dc694 (diff)
downloaddexon-sol-tools-95b656f360f635447725e00bb90642f1b859477a.tar
dexon-sol-tools-95b656f360f635447725e00bb90642f1b859477a.tar.gz
dexon-sol-tools-95b656f360f635447725e00bb90642f1b859477a.tar.bz2
dexon-sol-tools-95b656f360f635447725e00bb90642f1b859477a.tar.lz
dexon-sol-tools-95b656f360f635447725e00bb90642f1b859477a.tar.xz
dexon-sol-tools-95b656f360f635447725e00bb90642f1b859477a.tar.zst
dexon-sol-tools-95b656f360f635447725e00bb90642f1b859477a.zip
Add GET fee_recipients
Diffstat (limited to 'packages/sra-api/src/examples')
-rw-r--r--packages/sra-api/src/examples/index.ts2
-rw-r--r--packages/sra-api/src/examples/relayerApiFeeRecipientsResponse.ts10
2 files changed, 12 insertions, 0 deletions
diff --git a/packages/sra-api/src/examples/index.ts b/packages/sra-api/src/examples/index.ts
index 6581b840f..06560f8ad 100644
--- a/packages/sra-api/src/examples/index.ts
+++ b/packages/sra-api/src/examples/index.ts
@@ -1,5 +1,6 @@
import { validationError } from './errors';
import { relayerApiAssetDataPairsResponse } from './relayerApiAssetDataPairsResponse';
+import { relayerApiFeeRecipientsResponse } from './relayerApiFeeRecipientsResponse';
import { relayerApiOrder } from './relayerApiOrder';
import { relayerApiOrderBookResponse } from './relayerApiOrderBookResponse';
import { relayerApiOrderConfigPayload } from './relayerApiOrderConfigPayload';
@@ -9,6 +10,7 @@ import { relayerApiOrdersResponse } from './relayerApiOrdersResponse';
export const examples = {
validationError,
relayerApiAssetDataPairsResponse,
+ relayerApiFeeRecipientsResponse,
relayerApiOrder,
relayerApiOrderBookResponse,
relayerApiOrderConfigPayload,
diff --git a/packages/sra-api/src/examples/relayerApiFeeRecipientsResponse.ts b/packages/sra-api/src/examples/relayerApiFeeRecipientsResponse.ts
new file mode 100644
index 000000000..0182af629
--- /dev/null
+++ b/packages/sra-api/src/examples/relayerApiFeeRecipientsResponse.ts
@@ -0,0 +1,10 @@
+export const relayerApiFeeRecipientsResponse = {
+ total: 3,
+ page: 1,
+ perPage: 10,
+ records: [
+ '0x6eC92694ea172ebC430C30fa31De87620967A082',
+ '0x9e56625509c2f60af937f23b7b532600390e8c8b',
+ '0xa2b31dacf30a9c50ca473337c01d8a201ae33e32',
+ ],
+};