mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-25 15:05:49 +00:00
adjusted doc strings
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
parent
313dc9d8c1
commit
b842ea78c4
@ -61,9 +61,9 @@ class Transaction(object):
|
||||
spend.
|
||||
outputs (:obj:`list` of :class:`~planetmint.transactions.common.
|
||||
transaction.Output`, optional): Define the assets to lock.
|
||||
asset (dict): Asset payload for this Transaction. ``CREATE``
|
||||
Transactions require a dict with a ``data``
|
||||
property while ``TRANSFER`` Transactions require a dict with a
|
||||
assets (:obj:`list` of :obj:`dict`): Asset payload for this Transaction. ``CREATE``
|
||||
Transactions require a list containing exactly one dict with a ``data``
|
||||
property while ``TRANSFER`` Transactions require a list containing a dict with a
|
||||
``id`` property.
|
||||
metadata (dict):
|
||||
Metadata to be stored along with the Transaction.
|
||||
@ -85,7 +85,7 @@ class Transaction(object):
|
||||
|
||||
Args:
|
||||
operation (str): Defines the operation of the Transaction.
|
||||
asset (dict): Asset payload for this Transaction.
|
||||
assets (:obj:`list` of :obj:`dict`): Asset payload for this Transaction.
|
||||
inputs (:obj:`list` of :class:`~planetmint.transactions.common.
|
||||
transaction.Input`, optional): Define the assets to
|
||||
outputs (:obj:`list` of :class:`~planetmint.transactions.common.
|
||||
|
||||
@ -69,7 +69,7 @@ class Create(Transaction):
|
||||
Transaction.
|
||||
metadata (dict): The metadata to be stored along with the
|
||||
Transaction.
|
||||
asset (dict): The metadata associated with the asset that will
|
||||
assets (:obj:`list` of :obj:`dict`): The metadata associated with the asset that will
|
||||
be created in this Transaction.
|
||||
|
||||
Returns:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user