Estimate Fee
status: stable
Estimate fee for joining or leaving a stake pool. Note that it is an estimation because a delegation induces a transaction for which coins have to be selected randomly within the wallet. Because of this randomness, fees can only be estimated.
Path parameters
-
walletId
string(hex) Required Minimum length is
40
, maximum length is40
.
GET
/wallets/{walletId}/delegation-fees
curl \
--request GET https://localhost:8090/v2/wallets/{walletId}/delegation-fees
Response examples (406)
{
"message": "string",
"code": "not_acceptable"
}
Response examples (404)
{
"message": "string",
"code": "no_such_wallet",
"info": {
"wallet_id": "2512a00e9653fe49a44a5886202e24d77eeb998f"
}
}
Response examples (403)
{
"message": "string",
"code": "cannot_cover_fee"
}
Response examples (200)
{
"estimated_min": {
"quantity": 42000000,
"unit": "lovelace"
},
"estimated_max": {
"quantity": 42000000,
"unit": "lovelace"
},
"minimum_coins": [
{
"quantity": 42000000,
"unit": "lovelace"
}
],
"deposit": {
"quantity": 42000000,
"unit": "lovelace"
}
}