Package nxt.http

Class SetPhasingAssetControl


public final class SetPhasingAssetControl extends CreateTransaction
Sets a restriction on certain asset that blocks transactions operating with this asset unless they are phased with certain parameters. If no control is currently set for the specified asset, the sender must the be asset issuer.

Parameters

  • assetId - The asset
  • transactionType - One or more transaction types to which the asset control is applied (or from which the asset control is removed if the voting model is NONE). Possible values:
    • ASSET_TRANSFER
    • ASSET_DELETE
    • ASK_ORDER_PLACEMENT
    • BID_ORDER_PLACEMENT
    • ASK_ORDER_CANCELLATION
    • BID_ORDER_CANCELLATION
    • DIVIDEND_PAYMENT
    • ASSET_PROPERTY_SET
    • ASSET_PROPERTY_DELETE
    • SET_ASSET_CONTROL
    At any moment, there is only one asset control per asset and transaction type. If no types are specified, defaults to AssetControlTxTypesEnum.DEFAULT_TYPES
  • control* - If controlParams is missing, the asset control parameters can be specified one-by-one, without using JSON, with prefix "control" (to differentiate from the parameters used to phase the transaction)
  • controlParams - A JSON with all phasing parameters. Use the parsePhasingParams API to get this JSON. If provided, all control* parameters are ignored