curl --request GET \
--url http://localhost:8000/gateway/swaps/summary \
--header 'Authorization: Basic <encoded-value>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Get swap summary statistics.
Args: network: Filter by network wallet_address: Filter by wallet address start_time: Start timestamp (unix seconds) end_time: End timestamp (unix seconds)
Returns: Summary statistics including volume, fees, success rate
curl --request GET \
--url http://localhost:8000/gateway/swaps/summary \
--header 'Authorization: Basic <encoded-value>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Successful Response
Was this page helpful?