curl --request GET \
--url http://localhost:8000/gateway/swaps/{transaction_hash}/status \
--header 'Authorization: Basic <encoded-value>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Get status of a specific swap by transaction hash.
Args: transaction_hash: Transaction hash of the swap
Returns: Swap details including current status
curl --request GET \
--url http://localhost:8000/gateway/swaps/{transaction_hash}/status \
--header 'Authorization: Basic <encoded-value>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Was this page helpful?