diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-08 08:42:22 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-08 08:42:52 +0800 |
commit | 95b656f360f635447725e00bb90642f1b859477a (patch) | |
tree | 03eeb10b3607ad56cc4f1021d3ab1ed81a08f0ec /packages/sra-api/src/api.ts | |
parent | b0a7db81cb2bde774f410938578476200d1dc694 (diff) | |
download | dexon-sol-tools-95b656f360f635447725e00bb90642f1b859477a.tar.gz dexon-sol-tools-95b656f360f635447725e00bb90642f1b859477a.tar.zst dexon-sol-tools-95b656f360f635447725e00bb90642f1b859477a.zip |
Add GET fee_recipients
Diffstat (limited to 'packages/sra-api/src/api.ts')
-rw-r--r-- | packages/sra-api/src/api.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/sra-api/src/api.ts b/packages/sra-api/src/api.ts index 129fd3722..50e656599 100644 --- a/packages/sra-api/src/api.ts +++ b/packages/sra-api/src/api.ts @@ -264,6 +264,18 @@ export const api: OpenApiSpec = { ), }, }, + '/v2/fee_recipients': { + get: { + description: `Retrieves a collection of all fee recipient addresses for a relayer. This endpoint should be [paginated](#section/Pagination).`, + operationId: 'getFeeRecipients', + parameters: generateParameters([], true), + responses: generateResponses( + 'relayerApiFeeRecipientsResponseSchema', + examples.relayerApiFeeRecipientsResponse, + `A collection of all used fee recipient addresses.`, + ), + }, + }, }, components: { schemas: openApiSchemas, |