Hello, I was playing around with Yaci DevKit and Evolution SDK and noticed that the Blockfrost provider's protocol parameters schema requires min_utxo as a mandatory field.
Reproduction
import { createClient } from "@evolution-sdk/evolution";
// Yaci DevKit running locally (yaci-devkit up --enable-yaci-store)
const client = createClient({
network: "preprod",
provider: { type: "blockfrost", baseUrl: "http://localhost:8080/api/v1" },
wallet: { type: "seed", mnemonic: "your twelve word mnemonic phrase here ..." },
});
// This throws:
await client.getProtocolParameters();
Error
ProviderError: Blockfrost getProtocolParameters failed
└─ ["min_utxo"]
└─ is missing
Yaci response (excerpt)
{
"min_fee_a": 44,
"min_fee_b": 155381,
"pool_deposit": "500000000",
"key_deposit": "2000000",
"coins_per_utxo_size": "4310",
"max_tx_size": 16384,
"max_block_size": 90112
}
(coins_per_utxo_size is present, min_utxo is not)