private/staking/convert
POSTCreate a request to convert between staked token with liquid staking token./private/staking/convert
Request
Body
required
Request id (echoed in response)
Must be "private/staking/convert"
Your API key (only required for private REST)
HMAC-SHA256 signature in hex (only required for private REST)
Current timestamp in milliseconds, e.g. "1771761038000".
params objectrequired
Instrument name to convert from, e.g. ETH.staked or CDCETH.
Instrument name to convert to: CDCETH if from is ETH.staked, ETH.staked if from is CDCETH.
Expected conversion rate, from public/staking/get-conversion-rate.
Quantity to be converted in from_instrument_name.
Maximum slippage allowed in basis point.
Schema
Echoed request id
Method invoked
0 = success; non-zero indicates error (reason code).
result object
Instrument name to convert from, e.g. ETH.staked
Instrument name to convert to, e.g. CDCETH
Expected conversion rate
Quantity to be converted in from_instrument_name
Maximum slippage allowed in basis point
Convert request id
Reason for the status, e.g. NO_ERROR
Present when code !== 0.
Present when code !== 0.