GET
/
api
/
v1
/
vault
/
{address}
/
expectedAmount
curl --request GET \
  --url https://apiserver.beratrade.io/api/v1/vault/{address}/expectedAmount
{
  "body": {
    "expectedAmount": "<string>"
  },
  "message": "<string>",
  "status": 123
}

Returns the expected amount for a vault operation (deposit or withdraw).

Path Parameters

address
string
required

Vault address

Query Parameters

amount_x18
string
required

Amount with 18 decimal precision

is_quote_token
boolean

Whether the amount is in quote token

Response

200
application/json

Expected amount

The response is of type object.