Multisig

Multisig

class Multisig(**kwargs)

Implements the multisig api endpoints.

build_transaction(recipients: List[pystratis.core.recipient.Recipient], secrets: List[pystratis.core.multisigsecret.MultisigSecret], **kwargs) → pystratis.api.global_responsemodels.buildtransactionmodel.BuildTransactionModel

Builds a transaction.

Parameters:
  • recipients (List[Recipient]) – A list of recipient objects.
  • secrets (List[MultisigSecret]) – A list of corresponding multisig secrets.
  • **kwargs – Extra keyword arguments.
Returns:

A built multisig transaction.

Return type:

BuildTransactionModel

Raises:

APIError – Error thrown by node API. See message for details.

BuildTransactionModel

class BuildTransactionModel

A pydantic model for a built transaction.