Пример #1
0
    def get_trytes(self, hashes):
        # type: (Iterable[TransactionHash]) -> dict
        """
    Returns the raw transaction data (trytes) of one or more
    transactions.

    References:
      - https://iota.readme.io/docs/gettrytes
    """
        return core.GetTrytesCommand(self.adapter)(hashes=hashes)
Пример #2
0
    def get_trytes(self, hashes):
        # type: (Iterable[TransactionHash]) -> dict
        """
        Returns the raw transaction data (trytes) of one or more
        transactions.

        References:

        - https://docs.iota.org/docs/node-software/0.1/iri/references/api-reference#gettrytes
        """
        return core.GetTrytesCommand(self.adapter)(hashes=hashes)