diff options
Diffstat (limited to 'packages/sra-api/src/examples')
-rw-r--r-- | packages/sra-api/src/examples/index.ts | 5 | ||||
-rw-r--r-- | packages/sra-api/src/examples/relayerApiAssetDataPairsResponseSchema.ts | 21 |
2 files changed, 26 insertions, 0 deletions
diff --git a/packages/sra-api/src/examples/index.ts b/packages/sra-api/src/examples/index.ts new file mode 100644 index 000000000..10ecd182c --- /dev/null +++ b/packages/sra-api/src/examples/index.ts @@ -0,0 +1,5 @@ +import { relayerApiAssetDataPairsResponseSchema } from './relayerApiAssetDataPairsResponseSchema'; + +export const examples = { + relayerApiAssetDataPairsResponseSchema, +}; diff --git a/packages/sra-api/src/examples/relayerApiAssetDataPairsResponseSchema.ts b/packages/sra-api/src/examples/relayerApiAssetDataPairsResponseSchema.ts new file mode 100644 index 000000000..89a0c82fb --- /dev/null +++ b/packages/sra-api/src/examples/relayerApiAssetDataPairsResponseSchema.ts @@ -0,0 +1,21 @@ +export const relayerApiAssetDataPairsResponseSchema = { + total: 43, + page: 1, + perPage: 100, + records: [ + { + assetDataA: { + minAmount: '0', + maxAmount: '10000000000000000000', + precision: 5, + assetData: '0xf47261b04c32345ced77393b3530b1eed0f346429d', + }, + assetDataB: { + minAmount: '0', + maxAmount: '50000000000000000000', + precision: 5, + assetData: '0x0257179264389b814a946f3e92105513705ca6b990', + }, + }, + ], +}; |