Skip to main content
POST
Reserve an EVM leg's funding, then report its broadcast

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
leg
enum<string>
required
Available options:
a,
b
txHash
string

0x + 64 hex — omit to reserve

from
string

when reserving: the wallet that will send the escrow, recorded as the leg's refund address in the same write

at
string

when attaching: the reservation's token — meta.fundIntent[leg].at as the reserve returned it

Response

ok

swap
object

leg a = what the maker gives, leg b = what the maker wants