Skip to main content
POST
Prepare Deposit Transaction

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

network
enum<string>
required

Ethereum pool network:

  • `mainnet` — Ethereum mainnet.
  • `hoodi` — Ethereum testnet.
Available options:
mainnet,
hoodi

Body

application/json
delegatorAddress
string
required

Account address of the delegator initiating the transaction.

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

"0x338EF19fA2eC0fc4d1277B1307a613fA1FBbc0cb"

vaultAddress
string
required

Ethereum address of the vault which keeps the tokens.

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

"0x338EF19fA2eC0fc4d1277B1307a613fA1FBbc0cb"

amount
string
required

Amount of tokens in ETH, as a decimal string (e.g. "0.925413332702449273"). Send it as a JSON string to preserve full 18-decimal precision; a JSON number loses precision before it reaches the server. Must be a plain positive decimal of at least 0.01 ETH with no more than 18 fractional digits; exponential notation (e.g. "1e-2") and signs are rejected with a 400 validation error.

Pattern: ^\d+(\.\d+)?$
Example:

"0.01"

Response

OK

Standard API success response envelope wrapping the result payload.

error
object | null
required

Error object. Always null on successful responses.

result
object
required

Response payload containing the requested data.