val statesToConsume: List<StateRef>
States this request specifies to be consumed. Sorted to ensure the serialized form does not get affected by the state order.