Skip to main content
POST
Create a new stake-wrap

API Key Permissions​

This endpoint requires the “trade” permission.

Response​

A successful stake-wrap is assigned a stake-wrap ID. The corresponding ledger entries for a stake-wrap reference this stake-wrap ID.
More DetailsFor more information on stake-wrapping ETH (from_currency) to CBETH (to_currency), see How to stake/wrap ETH to CBETH.

Authorizations

cb-access-key
string
header
required
cb-access-passphrase
string
header
required
cb-access-sign
string
header
required
cb-access-timestamp
string
header
required

Body

application/json
from_currency
string
to_currency
string
amount
string

Response

id
string
required
from_amount
string
required
to_amount
string
required
from_account_id
string
required
to_account_id
string
required
from_currency
string
required
to_currency
string
required
status
string
required
conversion_rate
string
required
created_at
string<date-time>
required
completed_at
string<date-time>
required
canceled_at
string<date-time>
required