Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [pyota]

For questions about the Python IOTA library pyota.

Filter by
Sorted by
Tagged with
2 votes
1 answer

iota-client library (python)

I am working on iota-client library ( downloaded lib from on my ubuntu 20.04 laptop and all go well. However when I try to install the iota-client on ...
2 votes
0 answers

How to get the bundle hash or tail transaction hash by using the prepare_transfer() and send_trytes methods?

I am sending data to my hornet private tangle in Python. I wanted to do separate api calls to prepare the transaction and publish the transaction. So, I used api.prepare_transfer() and api.send_trytes(...
2 votes
1 answer

BadApiResponse: 403 response from node: {'error': 'command [attachToTangle] is protected'}

I have a private tangle with a Hornet Coordinator node. I am trying to make zero-value transactions using Python API but get an error "Command [attachToTangle] is protected. This the code which I'...
2 votes
1 answer

BadApiResponse (Wrong MinWeightMagnitude) in Hornet via PyOTA

I have create a Private tangle with Hornet, and I setup three peer node for testing. When I test for sending data with this tutorial, it responses from iota import Iota, TryteString, Address, Tag, ...
4 votes
2 answers

Fetch Encrypted Data ValueError: Request failed validation

I am trying to fetch bundles from the Tangle based on their tail transaction hashes. I am trying to follow step 7 of the Pyota Tutorial I successfully encrypted data and included it in a zero-value ...
5 votes
1 answer

Error cannot import name 'Seed' from 'iota'

When trying to import Seed from iota i receive following error: Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "...
4 votes
1 answer

Given a tail transaction hash, can it returns multiple bundles by calling `get_bundles`?

According to pyota library, it states that get_bundles() may return multiple bundles with a specific transaction hash. But even we replay/reattach the bundle, its transactions' hash will change. I ...
1 vote
1 answer

How to find all the messages of the TXs of an Address?

I'd like to find every message attached to the transactions of an address So I have to search transaction by address with find_transactions(), then list all the signature_message_fragment How can I do ...
3 votes
1 answer

Problem uploading message to Tangle

I'm working on a project for sending sensor data to the tangle and up to now I've managed to do the following Collect environment data from a sensor attached to a Raspberry Pi Send that data via MQTT ...
4 votes
1 answer

Decode signature_message_fragment with utf-8

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 7: invalid start byte from ...
2 votes
1 answer

Is PyOTA Sandbox up?

As I'm reading on this guide ( one should be able to connect to the Sandbox network to test an application.But as I try to ...
-1 votes
1 answer

PyOTA for beginners [closed]

I'm writing a thesis on IOTA and I wanna develop a simple application in Python as a related project I have a very small amount of time to do it, so if u wanna be so kind to give me some useful links ...
3 votes
1 answer

Pyota: prepare_transfer

I am trying to construct a simple transaction: prepare_transfer should get as input transfers: Iterable[ProposedTransaction], and two other optional parameters. How could one make an Iterable out of ...
4 votes
1 answer

Getting tips transactions hashes

I want to get the current tip transactions; trying to get the tips addresses using pyota api works fine: tips = api.get_tips() addr_tips = tips['hashes'] However trying to find transactions from ...