Multisig

Multisig

class Multisig(**kwargs)

Implements the multisig api endpoints.

build_transaction(recipients: List[Recipient], secrets: List[MultisigSecret], **kwargs) 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(*, fee: Money = 0, hex: hexstr, transactionId: uint256)

A pydantic model for a built transaction.

fee: Money

The transaction fee.

hex: hexstr

The transaction hex.

transaction_id: uint256

The transaction hash.