dexX7 / py-omniswaps

Python implementation of atomic swap with Omni Core and P2SH "locks"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get Status: 200 Unlocked Outpoint

dexX7 opened this issue · comments

commented

Endpoint:

POST /getstatus

Request:

{
  "txid": "1f90d7e40bc0e3a664693933f9588a1c8bf4c337e7385080c1af6291e5111034",
  "vout": 1
}

Response:

Status: 200 OK
{
  "txid": "1f90d7e40bc0e3a664693933f9588a1c8bf4c337e7385080c1af6291e5111034",
  "vout": 1,
  "status": "unlocked"
}

Mechanism:

  1. Parse request
  2. Lookup status
  3. Return status (entry not found)
commented

Probably outdated.