Skip to main content
POST
Accept the current terms — COMMITS, and cannot be undone

Authorizations

Authorization
string
header
required

An API key (hk_live_… / hk_test_…) with read/taker/maker scopes. read is read-only: every write except webhooks needs taker or maker (403 otherwise), and either of those can read too. Creating RFQs and listing tokens need taker; quoting needs maker.

Path Parameters

id
string
required

Body

application/json
quoteAmount
string
required

the current price, base units — must equal the thread's currentQuoteAmount

hashlock
string

32-byte hex; required from the initiator

Response

ok — returns { thread, swap? }

thread
object
required

one maker's negotiation on an RFQ

swap
object

present once both sides have accepted — the swap the agreement created