CollateralVoting

CollateralVoting

class CollateralVoting(**kwargs)

Implements the collateralvoting api endpoints.

schedulevote_kickfedmember(pubkey_hex: str | hexstr | PubKey, collateral_amount_satoshis: int, collateral_mainchain_address: Address | str, **kwargs) None

Schedule a vote to kick an existing federation member.

Parameters:
  • pubkey_hex (PubKey) – The fedmember pubkey hex value.

  • collateral_amount_satoshis (int) – The collateral amount in satoshis.

  • collateral_mainchain_address (Address, str) – The mainchain address holding the collateral.

  • **kwargs – Extra keyword arguments.

Returns:

None

Raises:

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