Closed ghost closed 1 year ago
Hi @hariaccubits ! Unfortunately I don't know how the error from Blockfrom connected with the CSL without any additional context. I guess it's better to ask blockfrost about the error. But if CSL produces incorrect cbor I need a code example with explanation where CSL makes incorrect data.
From your error snippet
error: 'Bad Request',
url: 'https://cardano-preprod.blockfrost.io/api/v0/addresses/addr1q8fvgtajwpzvccdfxu5fjrmnh2rzyh46w7e5xn0yya5znvpcjn3zsax2qzsw24nppdmh78s7mknhulz8gu30tfy37flqnpr0rm/utxos?page=8&count=100&order=asc'
It seems you are trying to connect to preprod network but the address UTXO you are querying is a mainnet address. This is why blockfrost is throwing 404 error as the mainnet address couldn't be found in the preprod testnet.
addr1q8fvgtajwpzvccdfxu5fjrmnh2rzyh46w7e5xn0yya5znvpcjn3zsax2qzsw24nppdmh78s7mknhulz8gu30tfy37flqnpr0rm
Either switch to mainnet API if you are attempting the transaction in mainnet or try using the testnet wallet address.
Not a CSL issue. I'm closing it.