Skip to main content
POST
cURL
How do programmatic withdrawals work?
Call this endpoint twice per withdrawal: first without signature to prepare (returns the nonce, validated amount, and any additionalData to sign), then with the nonce and owner signature to execute (returns a jobId). chainId and ownerChainId are protocol chain slugs, not numeric ids. These endpoints power relay.link/withdraw and are not yet a versioned API surface.

Body

application/json
chainId
string
required
Minimum string length: 1
currency
string
required
Minimum string length: 1
amount
string
required
Pattern: ^[0-9]+$
ownerChainId
string
required
Minimum string length: 1
owner
string
required
Minimum string length: 1
recipient
string
required
Minimum string length: 1
nonce
string
additionalData
any
signature
string

Response

200

Default Response