Skip to main content

MergeCoinsProtocol

MergeCoinsProtocol Objects

class MergeCoinsProtocol(typing.Protocol)

Command to merge multiple coins of the same type into a single coin

BCS

The BCS serialized form for this type is defined by the following ABNF:

merge-coins = argument (vector argument)

coin

def coin() -> Argument

Coin to merge coins into

coins_to_merge

def coins_to_merge() -> typing.List[Argument]

Set of coins to merge into coin

All listed coins must be of the same type and be the same type as coin