예제 #1
0
    def store_transactions(self, trytes):
        # type: (Iterable[TryteString]) -> dict
        """
    Store transactions into local storage.

    The input trytes for this call are provided by
    :py:meth:`attach_to_tangle`.

    References:
      - https://iota.readme.io/docs/storetransactions
    """
        return core.StoreTransactionsCommand(self.adapter)(trytes=trytes)
예제 #2
0
    def store_transactions(self, trytes):
        # type: (Iterable[TryteString]) -> dict
        """
        Store transactions into local storage.

        The input trytes for this call are provided by
        :py:meth:`attach_to_tangle`.

        References:

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