POST
/
claims
curl --request POST \
  --url http://localhost:8081/claims \
  --header 'Content-Type: application/json' \
  --data '
{
  "order_id": "ord_123",
  "secret": "0x0000000000000000000000000000000000000000000000000000000000000001"
}
'
{
  "status": "Success",
  "result": {
    "status": "accepted",
    "order_id": "<string>"
  }
}

Body

application/json
order_id
string
required

Order ID from the orderbook.

secret
string
required

32-byte HTLC preimage as hex, with or without 0x prefix.

hop
object

Response

Claim accepted and queued.

status
enum<string>
Available options:
Success
result
object