API reference · OTC
Follow an OTC transaction
GET
https://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
sigstringrequiredFrom POST /otc/send
Query parameters
index"1"Also update the offer list from it once confirmed
Responses
200OK
Response fields
okbooleanconfirmedbooleanerrstring | nullWhy it failed on chain, in words
errCodeinteger | nullThe program's error number: 6016 (over your limit) and 6022 mean the price moved, so build the fill again