WitnessCreateContract constructor

WitnessCreateContract({
  1. required TronAddress ownerAddress,
  2. List<int>? url,
})

Create a new WitnessCreateContract instance with specified parameters.

Implementation

WitnessCreateContract({required this.ownerAddress, List<int>? url})
    : url = BytesUtils.tryToBytes(url, unmodifiable: true);