0

I get blockfrost.utils.ApiError: {'status_code': 400, 'error': 'Bad Request', 'message': 'Invalid address for this network or malformed address format.'} when using pycardano and this code

# Create a BlockFrost chain context
context = BlockFrostChainContext(
    "Project_id", base_url=ApiUrls.mainnet.value)

Same problem if I use API url directly

Is it a Pycardano issue or blockfrost?

1 Answer 1

0

The error is pretty clear:

Invalid address for this network or malformed address format

Can you show us more of your code?

1
  • thanks for quick reply. I found the error.
    – Mik_A
    Commented Sep 27, 2023 at 10:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.