Skip to main content

HTTP API reference › GalaSwap DEX › protocol-fee-sweep

GalaSwap DEX — protocol-fee-sweep

2 operations in this group.

POST /v1/protocol-fee-sweep/run​

ProtocolFeeSweepController_run

POST /v1/protocol-fee-sweep/run

POST /v1/protocol-fee-sweep/run

Authentication: api-key

Responses​

200 —​

Content type: application/json

Schema: SweepReportResponseDto

FieldTypeRequiredDescription
startedAtstring (date-time)yes
finishedAtstring (date-time)yes
dryRunbooleanyes
destinationstringyes
poolsScannednumberyes
poolsCollectednumberyes
poolsSkippedDustnumberyes
poolsFailednumberyes
totalsByTokenobjectyes
poolsarray<PoolSweepResultResponseDto>yes

401 —​

Content type: application/json

Schema: ProtocolFeeSweepHttpErrorResponseDto

FieldTypeRequiredDescription
statusCodenumberyes
messageoneOf: string | array<string>yes
errorstringno

403 —​

Content type: application/json

Schema: ProtocolFeeSweepHttpErrorResponseDto

FieldTypeRequiredDescription
statusCodenumberyes
messageoneOf: string | array<string>yes
errorstringno

409 —​

Content type: application/json

Schema: ProtocolFeeSweepHttpErrorResponseDto

FieldTypeRequiredDescription
statusCodenumberyes
messageoneOf: string | array<string>yes
errorstringno

default — An error response using the shared backend error envelope.​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
statusintegeryes
errorbooleanyes
messagestringyes
errorKeystringno

Example response​

[]

GET /v1/protocol-fee-sweep/reports​

ProtocolFeeSweepController_reports

GET /v1/protocol-fee-sweep/reports

GET /v1/protocol-fee-sweep/reports

Authentication: api-key

Responses​

200 —​

Content type: application/json

Schema: array<SweepReportResponseDto>

FieldTypeRequiredDescription
items.startedAtstring (date-time)yes
items.finishedAtstring (date-time)yes
items.dryRunbooleanyes
items.destinationstringyes
items.poolsScannednumberyes
items.poolsCollectednumberyes
items.poolsSkippedDustnumberyes
items.poolsFailednumberyes
items.totalsByTokenobjectyes
items.poolsarray<PoolSweepResultResponseDto>yes

401 —​

Content type: application/json

Schema: ProtocolFeeSweepHttpErrorResponseDto

FieldTypeRequiredDescription
statusCodenumberyes
messageoneOf: string | array<string>yes
errorstringno

403 —​

Content type: application/json

Schema: ProtocolFeeSweepHttpErrorResponseDto

FieldTypeRequiredDescription
statusCodenumberyes
messageoneOf: string | array<string>yes
errorstringno

default — An error response using the shared backend error envelope.​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
statusintegeryes
errorbooleanyes
messagestringyes
errorKeystringno

Example response​

[]

Previous group: ExtensionVersion · Next group: WhatsNew