PaydayAPI
API reference · OTC

Follow an OTC transaction

GEThttps://payday.direct/api/otc/confirm/{sig}

confirmed once it has landed; err says in words why it failed (nothing moves when it fails). ?index=1 also updates the offer list.

No API key.

Path parameters

sigstringrequired
From POST /otc/send

Query parameters

index"1"
Also update the offer list from it once confirmed

Responses

200OK

Response fields

okboolean
confirmedboolean
errstring | null
Why it failed on chain, in words
errCodeinteger | null
The program's error number: 6016 (over your limit) and 6022 mean the price moved, so build the fill again