aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-api/src/api.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sra-api/src/api.ts')
-rw-r--r--packages/sra-api/src/api.ts12
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,