Skip to main content
POST
Recover a failed deposit with an owner signature

Headers

x-api-key
string

API key for authentication (omit when sending Authorization)

Example:

"your-api-key"

authorization
string

Bearer platform token (e.g. forwarded by user-service). Takes precedence over x-api-key when both are present.

Example:

"Bearer eyJhbGciOi..."

Body

application/json
chain
string
required

CAIP-2 chain identifier of the deposit (e.g. "eip155:8453")

Pattern: ^[a-z0-9]+:[a-zA-Z0-9]+$
Example:

"eip155:8453"

txHash
string
required

Source transaction hash of the failed/rejected deposit

Pattern: ^0x[a-fA-F0-9]+$
Example:

"0xabc123..."

account
string
required

Deposit smart account that received the funds

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91"

token
string
required

Source token address. Use the zero address for native transfers.

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91"

recipient
string
required

Address to receive the recovered tokens on the source chain

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91"

deadline
integer
required

Unix timestamp (seconds) after which the signature is no longer valid

Example:

1800000000

signature
string
required

Raw 65-byte ECDSA signature by the account owner over the RecoverDeposit typed data

Pattern: ^0x[a-fA-F0-9]{130}$
Example:

"0x1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"

Response

Deposit recovered; funds returned on the source chain

message
string
required
transactionHash
string
required
amount
string
required